httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevin O'Neil" <kevinsl...@verizon.net>
Subject Re: [users@httpd] Warning: Documentroot doesn't exist
Date Tue, 01 Mar 2005 22:41:39 GMT
Jay,
I almost forgot, try using this as well inside the virtual host directive:

<VirtualHost *:80>
        ServerAdmin jpaulson@sedl.org
        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@sedl.org>
To: "Kevin O'Neil" <kevinslair@verizon.net>
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!
>
> 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@verizon.net>
>> To: <users@httpd.apache.org>
>> Sent: Tuesday, March 01, 2005 4:32 PM
>> Subject: Re: [users@httpd] Warning: Documentroot doesn't exist
>>
>>
>>> Instead of DocumentRoot, use VirtualDocumentRoot
>>>
>>>
>>>
>>> ----- Original Message ----- From: "Jay Paulson" <jpaulson@sedl.org>
>>> To: <users@httpd.apache.org>
>>> Sent: Tuesday, March 01, 2005 4:22 PM
>>> Subject: [users@httpd] 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@sedl.org
>>>>         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@httpd.apache.org
>>>>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
>>>> For additional commands, e-mail: users-help@httpd.apache.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@httpd.apache.org
>>>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
>>> For additional commands, e-mail: users-help@httpd.apache.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@httpd.apache.org
>>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
>> For additional commands, e-mail: users-help@httpd.apache.org
>>
>>
> 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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message