Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

error 403 in 2.0.49 but not in 2.0.40

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Next:  Once again: Images are not being fully loaded  
Author Message
slukacs

External


Since: Dec 23, 2003
Posts: 9



(Msg. 1) Posted: Fri May 21, 2004 11:52 am
Post subject: error 403 in 2.0.49 but not in 2.0.40
Archived from groups: alt>apache>configuration (more info?)

hello one and all,

i was using redhat9 which had apache 2.0.40 and i just upgraded my server to
fedora 2 which has apache 2.0.49. i copied my httpd.conf file over to the
new server expecting it to work and it sort of does. as long as there is an
index.ht* file the pages pull fine. however, some of my sites are just the
directories and filenames. so a virtual server would be something like:

<VirtualHost *:99>
ServerName myserver.com
DocumentRoot "/home/lucas/public_html"
ServerAdmin lucas RemoveThis @myserver.com
ErrorLog "/home/lucas/apache/logs/slucas"
<Directory "/home/lucas/public_html">
Options Indexes FollowSymLinks MultiViews
Options +Includes
AllowOverride None
Order allow,deny
Allow from all
</Directory>
</VirtualHost>

in the httpd.conf file. this worked fine under 2.0.40 but not in 2.0.49
where all i get is

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

but the mods and grps of the directory all the way back to / are absolutely
fine. so i am confused as to what changed from 40 to 49 in this regard and
what do i need to do to make 49 access and display my directoried sites
properly?

thank you in advance and have a nice day.

lucas

 >> Stay informed about: error 403 in 2.0.49 but not in 2.0.40 
Back to top
Login to vote
jslive

External


Since: May 21, 2004
Posts: 8



(Msg. 2) Posted: Fri May 21, 2004 1:38 pm
Post subject: Re: error 403 in 2.0.49 but not in 2.0.40 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"lucas" <slukacs.RemoveThis@adelphia.net> wrote in message news:<58SdnU57o49GZDDdRVn-gg.RemoveThis@adelphia.com>...

 >
 > 403 Forbidden
 > You don't have permission to access / on this server

Start by showing what your error log has to say. No point guessing
solutions until we see that.

Joshua.<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: error 403 in 2.0.49 but not in 2.0.40 
Back to top
Login to vote
slukacs

External


Since: Dec 23, 2003
Posts: 9



(Msg. 3) Posted: Fri May 21, 2004 6:19 pm
Post subject: Re: error 403 in 2.0.49 but not in 2.0.40 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

ok,

thanx joshua, here is the entries related an attempt.

[Fri May 21 15:04:47 2004] [error] [client 67.23.245.220] Directory index
forbidden by rule: /home/lucas/public_html/lucasworks/linux/
[Fri May 21 15:04:47 2004] [error] [client 67.23.245.220] File does not
exist: /var/www/error/noindex.html

here is the section of httpd.conf that controls that url

<VirtualHost *.1024>
ServerName linux.iq399.com
DocumentRoot "/home/lucas/public_html/lucasworks/linux"
ServerAdmin lucas.TakeThisOut@iquanta.com
ErrorLog "/home/lucas/apache/logs/lucasworks"
<Directory "/home/lucas/public_html/lucasworks/linux">
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
</VirtualHost>

thanx

lucas



"Joshua Slive" <jslive.TakeThisOut@gmail.com> wrote in message
news:e498c166.0405210938.5153facb@posting.google.com...
 > "lucas" <slukacs.TakeThisOut@adelphia.net> wrote in message
news:<58SdnU57o49GZDDdRVn-gg.TakeThisOut@adelphia.com>...
 >
  > >
  > > 403 Forbidden
  > > You don't have permission to access / on this server
 >
 > Start by showing what your error log has to say. No point guessing
 > solutions until we see that.
 >
 > Joshua.<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: error 403 in 2.0.49 but not in 2.0.40 
Back to top
Login to vote
slukacs

External


Since: Dec 23, 2003
Posts: 9



(Msg. 4) Posted: Fri May 21, 2004 6:22 pm
Post subject: Re: error 403 in 2.0.49 but not in 2.0.40 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

also,

i have made triplet sure that the chmod, chown, and chgrp permissions on the
directory and files, and leading up to them, are proper. in fact i have rx
for each directory for everyone and rwx for the apache group.

so i am quite sure that my permissions are correct. again i think it is
apache somehow because those sites that have an index.htm* are working just
fine.

lucas



"Joshua Slive" <jslive DeleteThis @gmail.com> wrote in message
news:e498c166.0405210938.5153facb@posting.google.com...
 > "lucas" <slukacs DeleteThis @adelphia.net> wrote in message
news:<58SdnU57o49GZDDdRVn-gg DeleteThis @adelphia.com>...
 >
  > >
  > > 403 Forbidden
  > > You don't have permission to access / on this server
 >
 > Start by showing what your error log has to say. No point guessing
 > solutions until we see that.
 >
 > Joshua.<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: error 403 in 2.0.49 but not in 2.0.40 
Back to top
Login to vote
hans1

External


Since: Mar 29, 2004
Posts: 672



(Msg. 5) Posted: Sat May 22, 2004 3:02 am
Post subject: Re: error 403 in 2.0.49 but not in 2.0.40 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"lucas" <slukacs DeleteThis @adelphia.net> schreef in bericht
news:4oOdnRAI08YUyTPdRVn-gg@adelphia.com...
 > [Fri May 21 15:04:47 2004] [error] [client 67.23.245.220] Directory index
 > forbidden by rule: /home/lucas/public_html/lucasworks/linux/
'Directory index forbidden by rule' stems for a missing or incompleet
AllowOverride Indexes _outside_ the section shown,
iow in server context.

 > here is the section of httpd.conf that controls that url
 > <VirtualHost *.1024>
 > ServerName linux.iq399.com
 > DocumentRoot "/home/lucas/public_html/lucasworks/linux"
 > ServerAdmin lucas DeleteThis @iquanta.com
 > ErrorLog "/home/lucas/apache/logs/lucasworks"
 > <Directory "/home/lucas/public_html/lucasworks/linux">
 > Options Indexes FollowSymLinks MultiViews
 > AllowOverride None
 > Order allow,deny
 > Allow from all
 > </Directory>
 > </VirtualHost>
Your original post shows an extra line 'Options +Includes'.
_If _ Apache would only accept the last of these lines, it will miss the
intended 'Indexes'.

HansH<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: error 403 in 2.0.49 but not in 2.0.40 
Back to top
Login to vote
slukacs

External


Since: Dec 23, 2003
Posts: 9



(Msg. 6) Posted: Sat May 22, 2004 3:02 am
Post subject: Re: error 403 in 2.0.49 but not in 2.0.40 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

  > > [Fri May 21 15:04:47 2004] [error] [client 67.23.245.220] Directory
index
  > > forbidden by rule: /home/lucas/public_html/lucasworks/linux/
 > 'Directory index forbidden by rule' stems for a missing or incompleet
 > AllowOverride Indexes _outside_ the section shown,
 > iow in server context.

i searched the entire httpd.conf file and found nothing that says
"AllowOverride Indexes" in the entire file. only "AllowOverride None"

  > > here is the section of httpd.conf that controls that url
  > > <VirtualHost *.1024>
  > > ServerName linux.iq399.com
  > > DocumentRoot "/home/lucas/public_html/lucasworks/linux"
  > > ServerAdmin lucas DeleteThis @iquanta.com
  > > ErrorLog "/home/lucas/apache/logs/lucasworks"
  > > <Directory "/home/lucas/public_html/lucasworks/linux">
  > > Options Indexes FollowSymLinks MultiViews
  > > AllowOverride None
  > > Order allow,deny
  > > Allow from all
  > > </Directory>
  > > </VirtualHost>
 > Your original post shows an extra line 'Options +Includes'.
 > _If _ Apache would only accept the last of these lines, it will miss the
 > intended 'Indexes'.

ok i understand that. so the all of the Options need to be on the same and
single line. right? but also, wouldn't the Directory section contain an
Options list of its own. and finally, i am not using .htaccess files in my
directory.

so what else would be causing the blockage.

lucas<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: error 403 in 2.0.49 but not in 2.0.40 
Back to top
Login to vote
slukacs

External


Since: Dec 23, 2003
Posts: 9



(Msg. 7) Posted: Sat May 22, 2004 11:50 am
Post subject: Re: error 403 in 2.0.49 but not in 2.0.40 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

after thinking very hard on this and following your suggestions, i can't get
my mind around this upgrade. i upgraded from redhat 9 to fedora 2, which
changed apache from 2.0.40 to 2.0.49 but also the linux kernel was upgraded
from 2.4 to 2.6. i mean my websites and apache on this server were
perfectly working, even the directory based ones. i am using the same
httpd.conf as under 2.4 and 2.0.40. so what has changed that will make
apache not work correctly with directory based / no index.html file web
pages?

lucas
 >> Stay informed about: error 403 in 2.0.49 but not in 2.0.40 
Back to top
Login to vote
slukacs

External


Since: Dec 23, 2003
Posts: 9



(Msg. 8) Posted: Sat May 22, 2004 12:20 pm
Post subject: Re: error 403 in 2.0.49 but not in 2.0.40 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

i found the damn problem. the new fedora has a new conf directory in the
httpd rpm. under /etc/httpd/conf.d is a file named welcome.conf. in that
file is a LocationMatch section with Options -Indexes which will produce a
Error 403 document. i simply commented out these lines and restarted httpd.
everything works as it should now. damn that was frustrating.

lucas
 >> Stay informed about: error 403 in 2.0.49 but not in 2.0.40 
Back to top
Login to vote
hans1

External


Since: Mar 29, 2004
Posts: 672



(Msg. 9) Posted: Sat May 22, 2004 1:30 pm
Post subject: Re: error 403 in 2.0.49 but not in 2.0.40 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"lucas" <slukacs.RemoveThis@adelphia.net> schreef in bericht
news:B7udneOgwuOoVTPdRVn-hA@adelphia.com...
   > > > [Fri May 21 15:04:47 2004] [error] [client 67.23.245.220] Directory
 > index
   > > > forbidden by rule: /home/lucas/public_html/lucasworks/linux/
  > > 'Directory index forbidden by rule' stems for a missing or incompleet
  > > AllowOverride Indexes _outside_ the section shown,
  > > iow in server context.
 > i searched the entire httpd.conf file and found nothing that says
 > "AllowOverride Indexes" in the entire file. only "AllowOverride None"
 > I am not using .htaccess files in my directory.
This indeed only applies if you're using an .htaccess.

   > > > here is the section of httpd.conf that controls that url
   > > > <VirtualHost *.1024>
   > > > ServerName linux.iq399.com
   > > > DocumentRoot "/home/lucas/public_html/lucasworks/linux"
   > > > ServerAdmin lucas.RemoveThis@iquanta.com
   > > > ErrorLog "/home/lucas/apache/logs/lucasworks"
   > > > <Directory "/home/lucas/public_html/lucasworks/linux">
   > > > Options Indexes FollowSymLinks MultiViews
   > > > AllowOverride None
   > > > Order allow,deny
   > > > Allow from all
   > > > </Directory>
   > > > </VirtualHost>
  > > Your original post shows an extra line 'Options +Includes'.
  > > _If _ Apache would only accept the last of these lines, it will miss the
  > > intended 'Indexes'.
 > ok i understand that. so the all of the Options need to be on the same
and
 > single line. right?
Well that is my thought, without any proof(ing).

 > but also, wouldn't the Directory section contain an
 > Options list of its own.
I assume, while your Directory container is currently fully overlapping the
virtual host, location the Options directive in either of these two is
arbitrary.

You can set the Options at any of four levels, with of without merging:
<a style='text-decoration: underline;' href="http://httpd.apache.org/docs-2.0/mod/core.html#options" target="_blank">http://httpd.apache.org/docs-2.0/mod/core.html#options</a>

 > so what else would be causing the blockage.
Absolute options are accumulate in the most restrictive way, so Options
might have been set on any folder between <root> and
'/home/lucas/public_html/lucasworks/linux/' eby ither a Directory block or a
Location block.

Give it a try after adding a + upfront of each option listed.

HansH<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: error 403 in 2.0.49 but not in 2.0.40 
Back to top
Login to vote
user2520

External


Since: Oct 21, 2003
Posts: 34



(Msg. 10) Posted: Sat May 22, 2004 2:03 pm
Post subject: Re: error 403 in 2.0.49 but not in 2.0.40 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

lucas wrote:
[...]
 > here is the section of httpd.conf that controls that url
 >
 > <VirtualHost *.1024>
^
sorry for my iggerance, but shouldn't this be
<VirtualHost *:1024>


I saw you already found the problem, but I wonder about the
period/colon entry.

--
Robi<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: error 403 in 2.0.49 but not in 2.0.40 
Back to top
Login to vote
slukacs

External


Since: Dec 23, 2003
Posts: 9



(Msg. 11) Posted: Sat May 22, 2004 6:57 pm
Post subject: Re: error 403 in 2.0.49 but not in 2.0.40 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Back to top
Login to vote
Display posts from previous:   
Related Topics:
error.log - Hi, I still can't get my apache2 running though I read the manual carefully. ping localhost works - http://localhost (or http://127.0.0.1) shows an 404 error. Below I copied the error.log. Can anybody tell me, what's going wrong? Thanks in advance Frank...

404 Error - I'm new to Apache and have checked on Google and cannot find the answer to the error 404 that I receive when running Apache to the localhost port. I have an index.html file in the /var/www/html/ directory. I've set the permissions for 755 for the file an...

500 error with é - Hello all, i've installed Apache 2 with PHP, but when a textbox send a text with an "é", i receive a 500 error, what running wrong in my configuration?

PHP Error - I seem to be unable to run/exec php documents on my webserver, and i have no idea why. the includes at the bottom of http.conf are both # ed out. but when i enable them, apache doesnt start! Any solutions much appreciated, and a possible method of..

Multiviews and 406 error - I thought I had understood how to configure Apache to use Multiviews, but it appears that I was wrong... My site is in French and English so my pages are named : <file>.fr.html and <file>.en.html Here is my .htaccess file : ***** AddChar...
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]