Bookmarks

Yahoo Gmail Google Facebook Delicious Twitter Reddit Stumpleupon Myspace Digg

Search queries

sqldatasource dal, wwwxxxenden, convert raid5 to raid 10 mdadm, apache force chunked, nrao wwwxxx, xxxxxdup, procmail change subject header, wwwXxx not20, Wwwxxx.doks sas, linux raid resync after reboot

Links

XODOX
Impressum

#1: "403 forbidden"

Posted on 2008-04-24 14:15:04 by Mazlaghan

hi guys,

i'm running apache 2.2 on windows as a service

keep getting

Forbidden

You don't have permission to access / on this server.

having a bit of nightmare...


here's my httpd:

NameVirtualHost *:80

#
# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost container.
# The first VirtualHost section is used for requests without a known
# server name.
#
#<VirtualHost *:80>
# ServerAdmin webmaster@dummy-host.example.com
# DocumentRoot /www/docs/dummy-host.example.com
# ServerName dummy-host.example.com
# ErrorLog logs/dummy-host.example.com-error_log
# CustomLog logs/dummy-host.example.com-access_log common
#</VirtualHost>

<VirtualHost www.rug-sales.com:80>
DocumentRoot "c:/Websites/rug-sales.com"
ServerName www.rug-sales.com
</VirtualHost>



any ideas?

thanks for your help!

Report this message

#2: Re: "403 forbidden"

Posted on 2008-04-24 22:04:16 by Kees Nuyt

On Thu, 24 Apr 2008 05:15:04 -0700 (PDT), Mazlaghan
<wennek@gmail.com> wrote:

>hi guys,
>
>i'm running apache 2.2 on windows as a service
>
>keep getting
>
>Forbidden
>
>You don't have permission to access / on this server.
>
>having a bit of nightmare...
>
>
>here's my httpd:
>
>NameVirtualHost *:80
>
>#
># VirtualHost example:
># Almost any Apache directive may go into a VirtualHost container.
># The first VirtualHost section is used for requests without a known
># server name.
>#
>#<VirtualHost *:80>
># ServerAdmin webmaster@dummy-host.example.com
># DocumentRoot /www/docs/dummy-host.example.com
># ServerName dummy-host.example.com
># ErrorLog logs/dummy-host.example.com-error_log
># CustomLog logs/dummy-host.example.com-access_log common
>#</VirtualHost>
>
> <VirtualHost www.rug-sales.com:80>

Make that:

<VirtualHost *:80>

(just like the example says).

> DocumentRoot "c:/Websites/rug-sales.com"
> ServerName www.rug-sales.com
> </VirtualHost>
>
>
>any ideas?

Also, don't the first VirtualHost is the default
virtual host, so if requests for www.furniture.com
reach your server, they will be handled by the virtual
host for www.rug-sales.com

>thanks for your help!
--
( Kees
)
c[_] Todays news is tomorrows history. (#379)

Report this message