Warning: Documentroot doesn 't exist 2005-03-01 - By Kevin O'Neil
Jay, I almost forgot, try using this as well inside the virtual host directive:
<VirtualHost *:80> ServerAdmin jpaulson@(protected) 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@(protected)> To: "Kevin O'Neil" <kevinslair@(protected)> Sent: Tuesday, March 01, 2005 5:22 PM Subject: Re: [users@(protected)] 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! > > jay > >> Jay, 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@(protected)> >> To: <users@(protected)> >> Sent: Tuesday, March 01, 2005 4:32 PM >> Subject: Re: [users@(protected)] Warning: Documentroot doesn't exist >> >> >>> Instead of DocumentRoot, use VirtualDocumentRoot >>> >>> >>> >>> ----- Original Message ----- From: "Jay Paulson" <jpaulson@(protected)> >>> To: <users@(protected)> >>> Sent: Tuesday, March 01, 2005 4:22 PM >>> Subject: [users@(protected)] Warning: Documentroot doesn't exist >>> >>> >>>> I'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@(protected) >>>> 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@(protected) >>>> " from the digest: users-digest-unsubscribe@(protected) >>>> For additional commands, e-mail: users-help@(protected) >>>> >>>> >>> >>> >>> >>> --------------------------------------------------------------------- >>> 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@(protected) >>> " from the digest: users-digest-unsubscribe@(protected) >>> For additional commands, e-mail: users-help@(protected) >>> >> >> >> >> --------------------------------------------------------------------- >> 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@(protected) >> " from the digest: users-digest-unsubscribe@(protected) >> For additional commands, e-mail: users-help@(protected) >> >> > Jay 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@(protected) " from the digest: users-digest-unsubscribe@(protected) For additional commands, e-mail: users-help@(protected)
|
|