[cgiwrap-users] cgiwrap with virtual hosts
Brought to you by:
nneul
From: Rudy G. <Rud...@UG...> - 2006-01-12 13:44:50
|
Dear cgiwrap user, I have a problem with cgiwrap. I hope you will take the time to have a look at my problem. I have installed phpcgiwrap that is in Debian. The basic setup works. php scripts are executed under the permissions of the user. However when surfing to http://www.schamper.ugent.be/index.php it gives the following error: CGIWrap was unable to find the user 'index.php' in the password file on this server. In other words, surfing to php files under the documentroot doesn't work. This is for all my virtual hosts. Below are the relevant entries for my virtual hosts: <VirtualHost 157.193.88.24:443> SSLEnable ServerAdmin web...@sc... DocumentRoot /var/www ServerName www.schamper.ugent.be Alias /phpmyadmin /sd/www/phpmyadmin/public_html Alias /textpattern /sd/www/textpattern/public_html </VirtualHost> <VirtualHost 157.193.88.24:80> SSLDisable ServerAdmin web...@sc... DocumentRoot /var/www ServerName www.schamper.ugent.be <Directory /sd/www/phpmyadmin/public_html> SSLRequireSSL </Directory> redirect /~textpattern https://www.schamper.ugent.be/textpattern redirect /textpattern https://www.schamper.ugent.be/textpattern redirect /~phpmyadmin https://www.schamper.ugent.be/phpmyadmin redirect /phpmyadmin https://www.schamper.ugent.be/phpmyadmin </VirtualHost> NameVirtualHost 157.193.88.72:80 <VirtualHost 157.193.88.72:80> SSLDisable ServerAdmin web...@sc... DocumentRoot /sd/www/utpcable/public_html/ ServerName utpcable.ugent.be </VirtualHost I have attached the httpd.conf file too. The above virtual hosts are included through the conf.d directory. Some more info about the layout of the site: http(s)://(www.)schamper.ugent.be point to the same index.html file that is a redirect to http(s)://www.)schamper.ugent.be/~website In /var/www i have a couple of files. Here the php files don't work. I have a user website on my server that has the website in it. (Changing the document root to the public_html directory of the user website doesn't change a thing.) Next to that I have users textpattern and phpmyadmin. Surfing to https://(www.)schamper.ugent.be/(~)textpattern and https://(www.)schamper.ugent.be/(~)phpmyadmin work and are executed under phpcgiwrap. Can you see what the problem is? I would appreciate any kind of help. Thank you very much for your time, -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- Rudy Gevaert e-mail: Rud...@UG... Directie ICT, Afdeling Infrastructuur Groep Systemen tel: +32 9 264 4734 Universiteit Gent fax: +32 9 264 4994 Krijgslaan 281, gebouw S9, 9000 Gent, Belgie www.UGent.be -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- |