I am running Debian Etch Apache2 with Tomcat backending it connected via 
the standard Debian libapache2-mod-jk package.

Something has happened (a Debian upgrade maybe) that has made it stop 
working properly. It has been working

Accessing http://www.chandlerfamily.org.uk hangs with no reply

whilst the url that it is re-written to 
 http://www.chandlerfamily.org.uk/blog/app 

works fine if you enter it manually.

The site is one of several virtual hosts based around IP addressing 
(from inside and outside my house)

My basic structure is two files, one included via the 
Debian "sites-enabled" facility and the other included from it.

the first file defines the virtual hosts, and their rewrite rule to 
determine the home page, the second is all the common directives.

so the first is like this (this is a subset of the file)

<VirtualHost  home.chandlerfamily.org.uk:80 >

        Include /etc/apache2/sites-available/www-common
        RewriteRule ^/$ /blog/app       [PT]

        RewriteLog      /var/log/apache2/rewrite.log
        RewriteLogLevel 0

</VirtualHost>

<VirtualHost 192.168.0.32:80 >
#money.home

        Include /etc/apache2/sites-available/www-common
        RewriteRule     ^/$ /akcmoney/app       [PT]
</VirtualHost>

-------------------------------------------------------
the included file starts like this


        ServerName www.chandlerfamily.org.uk

        DocumentRoot /var/www/chandlerfamily

# define which URLs get passed to tomcat
        JkMount         /blog/* tomcat

...
-------------------------------------------------------

I increase the RewriteLogLevel to 2 and it is rewriting the null url to 
the required thing (if you can see this, with linewraping form my mail 
program) 

158.234.250.71 - - [22/Aug/2007:16:31:29 +0100] 
[www.chandlerfamily.org.uk/sid#83d7940][rid#860ee88/initial] (2) init 
rewrite eng
ine with requested uri /
158.234.250.71 - - [22/Aug/2007:16:31:29 +0100] 
[www.chandlerfamily.org.uk/sid#83d7940][rid#860ee88/initial] (2) 
rewrite '/' -> '
/blog/app'
158.234.250.71 - - [22/Aug/2007:16:31:29 +0100] 
[www.chandlerfamily.org.uk/sid#83d7940][rid#860ee88/initial] (2) 
forcing '/blog/a
pp' to get passed through to next API URI-to-filename handler



and my access log shows that url being accessed, but no other evidence.

Can anyone see what I am doing wrong, or how I could debug it




-- 
Alan Chandler
http://www.chandlerfamily.org.uk


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to