Thanks man, adding the :80 to the NameVirtualHost fixed the problem. I read over the documentation several times, but never seemed to catch that point.
I've been testing this very thing ALL day long. Here is what I have found on Apache 2.0.47 on Mandrake linux.
##########################################################
httpd.conf
- - - - - - - - - - - - - - - - -
NO virtual host information
- - - - - - - - - - - - - - - - -
Vhosts.conf
- -...
Point taken, however if the files were protected with .htaccess, no one could shop at the store unless they had a username and password...not exactly the best way to make a sale.
So, I'd like the files to be accessible to everyone and changeable by the script/admin running the script. I still...
Thanks, I thought that might be the case. I wanted to use SSL on one of the domain and no SSL on the rest...any chance that is still possible with name based?
Ok, so you give the web server's user or group permissions to write to the files. Then any person that visits the page has these same permissions and can modify the files?
I've been researching and trying to accomplish this, but it isn't working so far and I'm not sure why. Here is my setup, please let me know if you have any ideas. Thanks.
ADSL:
Port 80 forwarded to 192.168.0.1
Static WAN IP: 60.70.80.90 (only an example ip)
LAN IP: 192.168.1.1
Gateway...
Actually, the files that are modified are in the document root. The script modifies files for a php ecommerce system. Users create contributions which can be integrated into the store, but other users must add and remove code from the php files manually in order to make the contribution work...
The script works on my local web server because I the apache user has full rights to everything. Obviously this is not possiblel on a production web server.
I thought that might happen. Ok, well here is another way to phrase it: How do you write a php web page which can modify files on the server that you don't want just any user to be able to modify? The form allows the user to select various options which, if selected, insert or replace code in...
Hi all,
I've written a php script/web page form which finds certain files and modifies them according to the user's choices. I currently have two different versions: One that can be executed through a web page form and one that can be run from the command line. My problem is one of user...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.