httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sharad Tiwari" <sharad.tiw...@wipro.com>
Subject RE: [users@httpd] Why Forbidden
Date Wed, 11 Dec 2002 06:24:56 GMT
Yes I have all the permissions right ... As I told the virtual host
configuration works fine ...
Please letme clarify my needs ...

I have an Apache server running on one node ... I want it to host a site
say abc.xyz.com 

Now I also want it to host another site and hence I went on to create a
virtual host with its own DocumentRoot.
The virtual host has been names as def.abc.xyz.com

The problem now is if I try accessing abc.xyz.com I can only see the
contents of the DocumentRoot of def.abc.xyz.com. Why is this happening.
(apache is running as nobody and has read permissions to all the
directories and write permission to most of them)

The other problem I am having is that the webserver is not
authenticating against a passwd ... 


Could I get any pointers on the same.



-----Original Message-----
From: Remo Mattei [mailto:remo@italy1.com] 
Sent: Wednesday, December 11, 2002 11:45 AM
To: users@httpd.apache.org
Subject: Re: [users@httpd] Why Forbidden


Do you have the right permissions?


Ciao, 
Remo Mattei  
        Cell 801-209-8554           Freelance
Networking-Security/Consultant
        MCSE, MCP, MCP+I, MCT       Linux Trainer & Firewall Development
        http://www.italy1.com               remo@italy1.com
                   


> From: "Sharad Tiwari" <sharad.tiwari@wipro.com>
> Reply-To: users@httpd.apache.org
> Date: Wed, 11 Dec 2002 10:55:25 +0530
> To: <users@httpd.apache.org>
> Subject: RE: [users@httpd] Why Forbidden
> 
> Thanks for the tip .. The virtual host is now working ...
> 
> But if I try to access the node which hosts the webserver it shows 
> only the contents of the DocumentRoot of the virtual host... => The 
> DocumentRoot of the virtual host has become the virtual host of the 
> server ...
> 
> Secondly apache is not authenticating against the password which I 
> created using htpasswd ( I have therefore commented those lines here) 
> ... Could you please throw light on this also .
> 
> The httpd.conf looks like this :
> 
> DocumentRoot "/vlc_public"
> 
> <Directory "/">
>       Options Indexes FollowSymlinks MultiViews
>       AllowOverride None
>       Order allow,deny
>       Allow from all
> </Directory>
> 
> 
> <Directory "/vlc_public">
> #AuthUserFile /home/vlc_user/vlc_user.pwd
> #AuthName "vlc_user"
> #AuthType Basic
> #Require valid_user
> 
>   Options Indexes FollowSymLinks MultiViews
>   AllowOverride None
>   Order allow,deny
>   Allow from all
> </Directory>
> 
> NameVirtualHost 10.200.16.131
> 
> <VirtualHost 10.200.16.131>
>      ServerName mails.rajesha.wipro.com
>      ServerAlias mails.rajesha.wipro.com mails
>      ServerAdmin root@rajesha.wipro.com
>      DocumentRoot "/home/vlc_user/"
> 
>      <Directory "/home/vlc_user/">
>              Options Indexes FollowSymlinks MultiViews
>              AllowOverride None
>              Order allow,deny
>              Allow from all
>      </Directory>
> </VirtualHost>
> 
> 
> 
> 
> 
> 
> 
> -----Original Message-----
> From: Mystery Admin [mailto:mysteryadmin@whatfantasiesmaycome.com]
> Sent: Tuesday, December 10, 2002 11:05 AM
> To: users@httpd.apache.org
> Subject: Re: [users@httpd] Why Forbidden
> 
> 
> What happens if you put the directory names in double quotes?
> 
> <Directory "/">
>        Options All FollowSymLinks Indexes
>        AllowOverride None
>        Allow from all
> </Directory>
> 
> <Directory /root/MHonArc2.5.13/>
>        Options ExecCGI Indexes
>        AllowOverride all
>        Order allow,deny
>        allow from all
> </Directory>
> 
> Also, make sure the permissions on /root/MHonArc2.5.13 are readable 
> either by the same group httpd is in or to the "world".
> 
> Peace....
> 
> Tom
> 
> On Mon, 9 Dec 2002 at 21:26:48, Sharad Tiwari wrote:
> 
>> hi all,
>> 
>> I have configured my httpd.conf as shown towards the end of the mail 
>> !!!
>> 
>> The ServerName is rajesha.wipro.com .. but when I try to access 
>> through the browser .. either by typing the fully qualified domain 
>> name or the IP address I get the following error message
>> 
>> Forbidden
>> You don't have permission to access / on this server.
>> 
>> Apache/1.3.27 Server at mails.rajesha.wipro.com Port 80
>> 
>> could anyone please let me know what the reason could be.
>> 
>> Thanks.
>> Sharad
>> 
>> 
>> =======
>> 
>> DocumentRoot "/vlc_public"
>> 
>> <Directory />
>>         Options All FollowSymLinks Indexes
>>         AllowOverride all
>>         Allow from all
>> </Directory>
>> 
>> <Directory "/vlc_public">
>>     Options Indexes FollowSymLinks MultiViews
>> 
>>     AllowOverride None
>>     Order allow,deny
>>     Allow from all
>> </Directory>
>> 
>> 
>> 
>> 
>> 
>> NameVirtualHost 10.200.16.131
>> 
>> <VirtualHost 10.200.16.131>
>>         ServerName mails.rajesha.wipro.com
>>         ServerAlias mails.rajesha.wipro.com mails
>>         ServerAdmin root@rajesha.wipro.com
>>         DocumentRoot /root/MHonArc2.5.13
>> 
>>         <Directory /root/MHonArc2.5.13/>
>>                 Options ExecCGI Indexes
>>                 AllowOverride all
>>                 Order allow,deny
>>                 allow from all
>>         </Directory>
>> </VirtualHost>
>> ======
> 
> 
> 
> ___________________
> http://jawmail.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

---------------------------------------------------------------------
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