Welcome to MobyThreads.com!
FAQFAQ   SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log in/Register/PasswordLog in/Register/Password

Suse 9.2 - Apache 2 Directory VirtualHost Parsing Bug?

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Related Topics:
Apache, Perl and SuSE 8.2 - Hi I have Apache 1.3.27 installed via SuSE 8.2. When I installed it v 5.8.0 of Perl was also installed along with mod_perl 1.27 and a few other modules. As this was done at install time via YaST2 no were modified by me. I have since..

SuSE 9.0, Apache 2.0.47, Tomcat 4.1.27, JK2 - Dear Experts, under SuSE 9.0 (Kernel 2.4) I have installed an Apache 2.0.47 and Tomcat 4.1.27. The Apache is listening on Port 80 and Tomcat on Port 8080, both installed with YaST - so far: no big deal. The last two days I searched through the

Apache 1.3.23 (Suse Linux8.0): CGI - Hi, I am very new to Apache. I installed Apache and localhost is the default page. However my primitive Perl CG Script (Hello World) copied into invoked Internal Error due to What ist..

Apache 2.0.49 / SuSe 9.1 / SSL certificate not loaded - Hi, I have set up Apache 2.0.49 on SuSe 9.1. A friend of mine mod_SSL since I'm not really familiar with it. It worked fine that evening, on both 80 and 443. Today it doesn't. The only thing that changed since then was probably the reboot. ..

why do I need "AddModule mod_php4.c" ? Apache 2.0.44, PHP .. - Hi ! After few problems, we got Apache running with PHP-4. Our server provides PHP pages. Last was to add in I see in some messages to add there also a line as ..
Next:  Apache: Disable logging  
Author Message
gordon3

External


Since: Dec 07, 2004
Posts: 2



(Msg. 1) Posted: Tue Dec 07, 2004 12:22 am
Post subject: Suse 9.2 - Apache 2 Directory VirtualHost Parsing Bug?
Archived from groups: alt>apache>configuration (more info?)

My vhost config files worked perfectly until I installed the
apache2-51791 update today. (This was a critical update installed by
the YaST online updater)

Now my current version is Apache/2.0.50-7.2 (Was 2.0.50-7 before the
update)

It appears that a bug in the .conf file parsing may have been
introduced in the update. It seems that in order to function correctly
there must now be a directive between the <VirtualHost> and <Directory>
directives.

The error is very straightforward to reproduce... in fact, the
vhost.template file doesn't parse correctly because the last two lines
are:

</Directory>

</VirtualHost>

A less standard but similarly affected situation would be one at the
start of a VirtualHost section:

<VirtualHost *:80>
<Directory>

You can see how it is failing by looking at the
http://localhost/server-info/ page (if you have mod_info installed).
In the bottom-most section (Module Name: core.c), the "Current
Configuration" area will show how the VirtualHost sections are parsed.

A very simple, and bad, solution is to add a directive, or move the
<Directory> section so that it isn't directly adjacent to the
<VirtualHost> section delimiters.

Has anyone else encountered this issue, and can you confirm that it was
introduced by the update?

Thanks - Gordon

Thanks - Gordon

 >> Stay informed about: Suse 9.2 - Apache 2 Directory VirtualHost Parsing Bug? 
Back to top
Login to vote
gordon3

External


Since: Dec 07, 2004
Posts: 2



(Msg. 2) Posted: Tue Dec 07, 2004 10:47 am
Post subject: Re: Suse 9.2 - Apache 2 Directory VirtualHost Parsing Bug? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Nevermind... the issue appears to be something different. The mod_info
cannot correctly parse the information unless you have a directive
between the <Directory> and the <VirtualHost> sections, but that's not
such a big deal. The server still parses them correctly. Back to the
drawing board...

-Gordon

 >> Stay informed about: Suse 9.2 - Apache 2 Directory VirtualHost Parsing Bug? 
Back to top
Login to vote
Display posts from previous:   
   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 ]