Jay, I almost forgot, try using this as well inside the virtual host directive: <VirtualHost *:80> ServerAdmin jpaulson@xxxxxxxx VirtualDocumentRoot /home/httpd/webdev/html <Directory /home/httpd/webdev/cgi-bin> Options +ExecCGI SetHandler cgi-script AddHandler cgi-script .cgi </Directory> #ServerName DirectoryIndex index.php index.htm index.html index.cgi ErrorLog logs/error_log CustomLog logs/access_log combined </VirtualHost>Please, if I am wrong, someone correct me. I have this working on my server and it runs 100%.
Thanks, Kevin----- Original Message ----- From: "Jay Paulson" <jpaulson@xxxxxxxx>
To: "Kevin O'Neil" <kevinslair@xxxxxxxxxxx> Sent: Tuesday, March 01, 2005 5:22 PM Subject: Re: [users@httpd] Warning: Documentroot doesn't exist
Thanks so much! This fixed the problem. All I need to do now is figure out this 403 error I'm getting!jayJay, also if you are going to use script alias for the /cgi-bin/ you have to use:VirtualScriptAlias /cgi-bin/ " /home/httpd/webdev/cgi-bin/ " Thanks, Kevin----- Original Message ----- From: "Kevin O'Neil" <kevinslair@xxxxxxxxxxx>To: <users@xxxxxxxxxxxxxxxx> Sent: Tuesday, March 01, 2005 4:32 PM Subject: Re: [users@httpd] Warning: Documentroot doesn't existInstead of DocumentRoot, use VirtualDocumentRoot ----- Original Message ----- From: "Jay Paulson" <jpaulson@xxxxxxxx> To: <users@xxxxxxxxxxxxxxxx> Sent: Tuesday, March 01, 2005 4:22 PM Subject: [users@httpd] Warning: Documentroot doesn't existI've set up my VirtualHosts and for each Documentroot I get a warning that it does not exist.Warning: DocumentRoot [/home/httpd/webdev/html] does not exist My VirtualHost is below. <VirtualHost *:80> ServerAdmin jpaulson@xxxxxxxx DocumentRoot /home/httpd/webdev/html #ServerName DirectoryIndex index.php index.htm index.html index.cgi ErrorLog logs/error_log CustomLog logs/access_log combined </VirtualHost>Any ideas on what is causing this problem? The directory is there. I'm running Apache 2.Thanks for any help. jay ---------------------------------------------------------------------The official User-To-User support forum of the Apache HTTP Server Project.See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx---------------------------------------------------------------------The official User-To-User support forum of the Apache HTTP Server Project.See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx---------------------------------------------------------------------The official User-To-User support forum of the Apache HTTP Server Project.See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxxJay Paulson Web Design Specialist Southwest Educational Development Laboratory 211 E. 7th St., Suite 200 Austin, TX 78701-3253 512-476-6861 (voice) 512-476-2286 (fax) http://www.sedl.org
--------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
![]() |