centos 7: rewrite rule produces 503 Service Unavailable

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi there,

I am in the process of moving a couple of sites from an elderly SuSe box to a virtual
machine running centos.

I have a (zope/plone based)  server running on port 8080.
The server can be reached accessing it directly trough port 8080,
but when I want to access it trough apache using a rewrite rule I get a service
unavailable error.

I have the following suspicion:
- the rewrite rule works correctly
- but then apach throws the 503 Service Unavailable error.
However I a mot sure..

this is the vhost conf:

<VirtualHost *:80>
    ServerName intraneu.xxx.ch
    CustomLog  /var/log/httpd/intraneu-access.log combined
    ErrorLog   /var/log/httpd/intraneu-error.log
    LogLevel alert rewrite:trace4

    RewriteEngine On
RewriteRule /(.*)/$ http://127.0.0.1:8080/VirtualHostBase/http/%{SERVER_NAME}:80/intradev/intradev/VirtualHostRoot/$1 [L,P,R] RewriteRule ^/(.*) http://127.0.0.1:8080/VirtualHostBase/http/%{SERVER_NAME}:80/intradev/intradev/VirtualHostRoot/$1 [L,P,R]

</VirtualHost>

here is the logentry that makes me assume, that the rewrite rule is processed correctly: [Fri Mar 13 17:10:30.389570 2015] [rewrite:trace1] [pid 22667] mod_rewrite.c(468): [client 192.168.75.14:46846] 192.168.75.14 - - [intraneu.xxx.ch/sid#7fefff1ea860][rid#7fefff88e770/initial] go-ahead with proxy request proxy:http://127.0.0.1:8080/VirtualHostBase/http/intraneu.xxx.ch:80/intradev/intradev/VirtualHostRoot/ [OK]

this same rewrite rule works on the suse box (the virtual host conf is sligtly adapdet).

I would be very gratefull, if somebody could give me a hint where to look for a solution

thanks
robert


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx





[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux