olaf
Thu 30 March 2006, 12:07 pm GMT +0300
Hello,
I hope you people can help me out...
I need a small budget webhost with windows and apache to run a special dll inside my php scripts.
One option is to use my home pc, is this safe enough while using pache 2.0 and win XP prof?
Please tell me what I have to check first.
I thinkI use this server location only from some ip adresses (this configuration is done inside the apchache config)
Any suggestion is welcome...
regards Olaf
Nikolas
Thu 30 March 2006, 12:19 pm GMT +0300
I do something similar using another way.
First of all I have the server which is Linux based and is colocated.
On the office we have another server which listens only to the colocated server and the local network.
So for things that can be held in the linux server, we are pulling the data from the office's server.
So the client is using only the linux server, but the linux server gets some stuff from the office's one.
(Hope you understand what I say here, my english are......)
olaf
Thu 30 March 2006, 12:25 pm GMT +0300
Yes, this is what I need, I have a shared windows hosting with IIS and want to get the data from the home pc.
Is this enough to open the (home pc) system to the internet and restrict the access inside apache?
Olaf
Nikolas
Thu 30 March 2006, 12:28 pm GMT +0300
A firewall would be better, because the apache restrictions will work only on port 80, and windows have lots of vurnerabilities.
A quick tip. Use the CURL library for this. It is the fastest way to connect to a remote host.
olaf
Thu 30 March 2006, 12:39 pm GMT +0300
A firewall would be better, because the apache restrictions will work only on port 80, and windows have lots of vurnerabilities.
A quick tip. Use the CURL library for this. It is the fastest way to connect to a remote host.
Of course there is a firewall, actually I have to configure my router to let this pc through this firewall.
Right Curl is an option but I'm afraid this lib is not available on my shared hosting :(
Olaf
Nikolas
Thu 30 March 2006, 12:41 pm GMT +0300
If it is not you can try the dl() function, but propably it will not be available too.
olaf
Thu 30 March 2006, 12:50 pm GMT +0300
If it is not you can try the dl() function, but propably it will not be available too.
The only thing i have to do is to get some dynamic images using file functions, nothing special, that why my budget is so small. It's more important that no one can crack my home network.
Olaf
Nikolas
Thu 30 March 2006, 12:54 pm GMT +0300
I see. So you just need a good firewall, and redirect the traffic to your home server.
olaf
Thu 30 March 2006, 12:58 pm GMT +0300
I see. So you just need a good firewall, and redirect the traffic to your home server.
yes something like that...
Thanks for the advice, the other option is a dedicated webserver. Apache and windows (WAMP), a good choice?
Olaf
Nikolas
Thu 30 March 2006, 01:01 pm GMT +0300
No not at all.
I have made some benchmarks to test apache/php/mysql on windows and linux, and believe linux is much faster.
But for the thing you want to do (that you have to use windows also) you can install a linux machine with a virtual machine with windows. That works great, but you must have a lot of memory to support it(2Gb+).
olaf
Thu 30 March 2006, 01:08 pm GMT +0300
No not at all.
I have made some benchmarks to test apache/php/mysql on windows and linux, and believe linux is much faster.
But for the thing you want to do (that you have to use windows also) you can install a linux machine with a virtual machine with windows. That works great, but you must have a lot of memory to support it(2Gb+).
Ye,s I know it's faster to use a Linux, about this benchmark test you made, what is the performance difference between LAMP and WAMP?
Nikolas
Thu 30 March 2006, 01:11 pm GMT +0300
The big difference is with mysql.
I can't tell exact numbers, but I try the same queries on windows and linux (with the linux pc lower specs than the windows one) and I get more than 20% difference.
I guess this is because of the file system. Even with NTFS windows still s**k