RE: [users@httpd] Problems after upgrading

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

 



> -----Original Message-----
> From: mamrg [mailto:lists@xxxxxxxxxxx] 
> Sent: Thursday, August 03, 2006 9:00 PM
> To: users@xxxxxxxxxxxxxxxx
> Subject: [users@httpd] Problems after upgrading
> 
> Hi,
> 
> I've upgraded Apache 1.3.27 to 1.3.37
> 
> 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:
> http://www.dte.ua.pt/lale/

Err.. with a 500 server error, not a 301 as you state above.

> 
> 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>

Bad idea to use domain names in a VH declaration - it makes apache dependent on DNS.

> RewriteEngine On
> RewriteLogLevel 0
> http://www.dte.ua.pt:8080/VirtualHostBase/http/www.dte.ua.pt:8
> 0/plone/VirtualHostRoot$1 
> [L,P]
> ##RewriteRule ^(.*)$ 
> http://www.dte.ua.pt:8080/VirtualHostBase/http/www.dte.ua.pt:8
> 0/plone/VirtualHostRoot$1 
> [L,P]
> 
> Alias /cv /home/vhosts/dte/cv
> Alias /lale /home/vhosts/dte/lale


OK, so "lale" is an alias into a directory - so it's served by the DirectoryIndex file. I see below that you use server-parsed HTML so my guess is a bug in the code in the index file.

Rgds,
Owen Boyle
Disclaimer: Any disclaimer attached to this message may be ignored. 

PS - well done for posting real URLs, it makes it far easier to see what's going on...

> (...)
> 
> ProxyPass /pauie 
> http://localhost:8080/VirtualHostBase/http/www.dte.ua.pt:80/pa
> uie2/VirtualHostRoot/_vh_pauie
> ProxyPassReverse /pauie 
> http://localhost:8080/VirtualHostBase/http/www.dte.ua.pt:80/pa
> uie2/VirtualHostRoot/_vh_pauie
> 
> ProxyPass /FLE 
> http://localhost:8080/VirtualHostBase/http/www.dte.ua.pt:80/FL
> E/VirtualHostRoot/_vh_FLE
> ProxyPassReverse /FLE 
> http://localhost:8080/VirtualHostBase/http/www.dte.ua.pt:80/FL
> E/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/pl
> one/VirtualHostRoot/
> ProxyPassReverse / 
> http://localhost:8080/VirtualHostBase/http/www.dte.ua.pt:80/pl
> one/VirtualHostRoot/
> 
> 
> ServerAdmin webmaster@xxxxxxxxx
> 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@xxxxxxxxxxxxxxxx
>    "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
>
 
 
This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please notify the sender urgently and then immediately delete the message and any copies of it from your system. Please also immediately destroy any hardcopies of the message. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. The sender's company reserves the right to monitor all e-mail communications through their networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorised to state them to be the views of the sender's company.

---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-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