"403 forbidden"

"403 forbidden"

am 24.04.2008 14:15:04 von 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.
#
#
# 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
#



DocumentRoot "c:/Websites/rug-sales.com"
ServerName www.rug-sales.com




any ideas?

thanks for your help!

Re: "403 forbidden"

am 24.04.2008 22:04:16 von Kees Nuyt

On Thu, 24 Apr 2008 05:15:04 -0700 (PDT), Mazlaghan
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.
>#
>#
># 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
>#

>
>

Make that:



(just like the example says).

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

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