You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by mamrg <li...@tuxdoit.com> on 2006/08/09 23:26:14 UTC

[users@httpd] 302 - Moved Permanently

Hi,

I've upgraded Apache 1.3.27 to 1.3.37, compiled.

After that, i get subdirectories of the domain that work well and others 
  that show a blank page only. In the later case, i get a 301 (moved 
permanently) code.

I've backed up my httpd.conf and didn't touched anything else in the 
DocumentRoot directory.

For example...
This one works:
http://www.dte.ua.pt/cv/

This don't (with the 301 code):
http://www.dte.ua.pt/lale/

I know it seems stupid, but all the pages that doesn't have PHP code are 
the ones that seems to be afected.

Any ideas ?

Any help would be appreciated.

Following my signature is the relevant Apache configuration (it is 
Reverse Proxying to a Zope in port 8080 also).

Warm regards,
Mário Gamito

<VirtualHost www.dte.ua.pt>
RewriteEngine On
RewriteLogLevel 0
http://www.dte.ua.pt:8080/VirtualHostBase/http/www.dte.ua.pt:80/plone/VirtualHostRoot$1 
[L,P]

http://www.dte.ua.pt:8080/VirtualHostBase/http/www.dte.ua.pt:80/plone/VirtualHostRoot$1 
[L,P]

Alias /cv /home/vhosts/dte/cv
Alias /lale /home/vhosts/dte/lale
(...)

ProxyPass /pauie 
http://localhost:8080/VirtualHostBase/http/www.dte.ua.pt:80/pauie2/VirtualHostRoot/_vh_pauie
ProxyPassReverse /pauie 
http://localhost:8080/VirtualHostBase/http/www.dte.ua.pt:80/pauie2/VirtualHostRoot/_vh_pauie

ProxyPass /FLE 
http://localhost:8080/VirtualHostBase/http/www.dte.ua.pt:80/FLE/VirtualHostRoot/_vh_FLE
ProxyPassReverse /FLE 
http://localhost:8080/VirtualHostBase/http/www.dte.ua.pt:80/FLE/VirtualHostRoot/_vh_FLE


ProxyPass /misc_ http://localhost:8080/misc_
Proxypass /p_ http://localhost:8080/p_

ProxyPass / 
http://localhost:8080/VirtualHostBase/http/www.dte.ua.pt:80/plone/VirtualHostRoot/
ProxyPassReverse / 
http://localhost:8080/VirtualHostBase/http/www.dte.ua.pt:80/plone/VirtualHostRoot/


ServerAdmin webmaster@dte.ua.pt
DocumentRoot /home/vhosts/dte
ServerName www.dte.ua.pt
AddHandler server-parsed .html
ErrorLog logs/www.dte.ua.pt-error_log
CustomLog logs/www.dte.ua.pt-access_log common

</VirtualHost>

---------------------------------------------------------------------
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: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] 302 - Moved Permanently

Posted by Nick Kew <ni...@webthing.com>.
On Wednesday 09 August 2006 22:26, mamrg wrote:
> Hi,

You already posted that once.

> For example...
> This one works:
> http://www.dte.ua.pt/cv/
>
> This don't (with the 301 code):
> http://www.dte.ua.pt/lale/

$ lynx -dump -head http://www.dte.ua.pt/lale/
HTTP/1.1 200 OK
Date: Wed, 09 Aug 2006 21:34:31 GMT
Server: Apache/1.3.37 (Unix) PHP/5.1.4 mod_ssl/2.8.28 OpenSSL/0.9.8b
Connection: close
Content-Type: text/html

Looks like you fixed it.  But I got the same last time you posted,
so I assumed your question was moot.


-- 
Nick Kew

---------------------------------------------------------------------
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: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org