Page 1 of 1
Cannot connect to Apache webserver You are not authorized to view this page error 403 forbidden
#1
Cannot connect to Apache webserver
Posted 09 October 2007 - 01:22 AM
I'm trying to connect to my apache webserver. And I get the following error
You are not authorized to view this page
You might not have permission to view this directory or page using the credentials you supplied. Error 403 - forbidden.
May someone advise me on the changes I should make in the httpd.conf file.
Thanx
You are not authorized to view this page
You might not have permission to view this directory or page using the credentials you supplied. Error 403 - forbidden.
May someone advise me on the changes I should make in the httpd.conf file.
Thanx
#4
Re: Cannot connect to Apache webserver
Posted 09 October 2007 - 07:03 PM
Teisi, on 9 Oct, 2007 - 02:22 AM, said:
I'm trying to connect to my apache webserver. And I get the following error
Inside of the httpd.conf, what do you show for the following two settings?
DocumentRoot /var/www/html/directory DirectoryIndex index.htm
Assuming you are running a *nix OS, what are the permissions for the directory & files?
#5
Re: Cannot connect to Apache webserver
Posted 09 October 2007 - 08:20 PM
I have:
I just checked, and, for some reason, I have no DocumentRoot defined. However, httpd is reading out of /var/www/localhost/htdocs/
And everything in that dir is owned by user 'apache', group 'apache' (the same user and group that I have httpd running under), with file perms of 644 (unless otherwise changed, like for phpBB2 and Gallery2 dirs)
DirectoryIndex index.html index.htm index.php
I just checked, and, for some reason, I have no DocumentRoot defined. However, httpd is reading out of /var/www/localhost/htdocs/
And everything in that dir is owned by user 'apache', group 'apache' (the same user and group that I have httpd running under), with file perms of 644 (unless otherwise changed, like for phpBB2 and Gallery2 dirs)
#6
Re: Cannot connect to Apache webserver
Posted 10 October 2007 - 02:54 AM
MorphiusFaydal, on 9 Oct, 2007 - 09:20 PM, said:
I have:
I just checked, and, for some reason, I have no DocumentRoot defined. However, httpd is reading out of /var/www/localhost/htdocs/
DirectoryIndex index.html index.htm index.php
I just checked, and, for some reason, I have no DocumentRoot defined. However, httpd is reading out of /var/www/localhost/htdocs/
DocumentRoot /var/www/localhost/htdocs/ DirectoryIndex index.html index.htm index.php
httpd -k restart
Or if you use the initd script to bring it down & restart it, either way.
#7
Re: Cannot connect to Apache webserver
Posted 10 October 2007 - 08:14 AM
no2pencil, on 10 Oct, 2007 - 05:54 AM, said:
MorphiusFaydal, on 9 Oct, 2007 - 09:20 PM, said:
I have:
I just checked, and, for some reason, I have no DocumentRoot defined. However, httpd is reading out of /var/www/localhost/htdocs/
DirectoryIndex index.html index.htm index.php
I just checked, and, for some reason, I have no DocumentRoot defined. However, httpd is reading out of /var/www/localhost/htdocs/
DocumentRoot /var/www/localhost/htdocs/ DirectoryIndex index.html index.htm index.php
httpd -k restart
Or if you use the initd script to bring it down & restart it, either way.
Yeah, I know. I'm not worried though.
Page 1 of 1

Ask A New Question
Reply




MultiQuote





|