I think you want "C:/InetPub/wwwroot" to take advantage of the permissions
system already in place...
Forbidden probably means that InetPub itself is not readable by the user PHP
runs as.
Speaking of which, where's your User and Group lines? Did I miss them?
Set User to that goofy iUSR_machinename thingie if NT5 is like NT4.
--
Visit the Zend Store at http://www.zend.com/store/
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm
----- Original Message -----
From: "[ rswfire ]" <[EMAIL PROTECTED]>
Newsgroups: php.general
Sent: Saturday, January 27, 2001 4:59 PM
Subject: [PHP] Apache on NT 5 =)
> I'm getting a Forbidden error when I try to access my site using Apache.
> Does anyone know what I did wrong? This is the contents of my httpd.conf
> file:
>
> ServerType standalone
>
> ServerRoot "C:/Program Files/Apache"
>
> PidFile logs/httpd.pid
>
> ScoreBoardFile logs/apache_runtime_status
>
> Timeout 300
>
> KeepAlive On
>
> MaxKeepAliveRequests 100
>
> KeepAliveTimeout 15
>
> MaxRequestsPerChild 0
>
> ThreadsPerChild 50
>
> BindAddress *
>
> Port 8080
>
> ServerAdmin [EMAIL PROTECTED]
>
> ServerName swifte.dev
> DocumentRoot "C:/Inetpub"
>
> <Directory />
> Options FollowSymLinks
> AllowOverride None
> </Directory>
>
> <Directory "C:/Inetpub">
>
> Options Indexes FollowSymLinks MultiViews
>
> AllowOverride None
>
> Order allow,deny
> Allow from all
> </Directory>
>
> <IfModule mod_userdir.c>
> UserDir "C:/Program Files/Apache/users/"
> </IfModule>
>
> <IfModule mod_dir.c>
> DirectoryIndex index.html
> </IfModule>
>
> AccessFileName .htaccess
>
> <Files ~ "^\.ht">
> Order allow,deny
> Deny from all
> </Files>
>
> UseCanonicalName On
>
> <IfModule mod_mime.c>
> TypesConfig conf/mime.types
> </IfModule>
>
> DefaultType text/plain
>
> <IfModule mod_mime_magic.c>
> MIMEMagicFile conf/magic
> </IfModule>
>
> HostnameLookups Off
>
> ErrorLog logs/error.log
>
> LogLevel warn
>
> LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\""
> combined
> LogFormat "%h %l %u %t \"%r\" %>s %b" common
> LogFormat "%{Referer}i -> %U" referer
> LogFormat "%{User-agent}i" agent
>
> CustomLog logs/access.log common
>
> ServerSignature On
>
> NameVirtualHost *
>
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]