RE: Server Side Inluces Issue Apache 2.2.3

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

 



Below are all the Redirect lines that I have on apache 1.3.31 conf file.

# Redirect allows you to tell clients about documents which used to
exist in
# Format: Redirect old-URI new-URL
RedirectPermanent /idtheft
http://www.ftc.gov/bcp/edu/microsites/idtheft/
RedirectPermanent /IDtheft
http://www.ftc.gov/bcp/edu/microsites/idtheft/
RedirectPermanent /robodeidentidad
http://www.ftc.gov/bcp/edu/microsites/idtheft/en-spanol/index.html
RedirectPermanent /search  http://search.ftc.gov
RedirectPermanent /complaint
https://rn.ftc.gov/pls/dod/wsolcq$.startup?Z_ORG_CODE=PU01
RedirectPermanent /queja
https://rn.ftc.gov/pls/dod/wsolcq$.startup?Z_ORG_CODE=PU01&Z_LANG_SEQ=2
RedirectPermanent /publicaciones
"http://www.ftc.gov/bcp/conline/edcams/ojo/s-coninfo.htm#nuevas";
        Redirect permanent / https://www.hsr.gov

I very much remember not adding any Redirect when enaling SSI. 

Also there are more than one URL's in consumer.gov that are redirected.

Thanks

-----Original Message-----
From: jslive@xxxxxxxxx [mailto:jslive@xxxxxxxxx] On Behalf Of Joshua
Slive
Sent: Thursday, April 26, 2007 2:28 PM
To: users@xxxxxxxxxxxxxxxx
Subject: Re:  Server Side Inluces Issue Apache 2.2.3


On 4/26/07, Chakrapani, Praveen Kumar Bellary (Contractor)
<PCHAKRAPANI@xxxxxxx> wrote:
> Ok let me explain it again
>
> www.ftc.gov and www.consumer.gov are running on apache version 1.3.31
> with server side includes enabled.
>
> www.consumer.gov has a url in its main page pointing to
> http://www.ftc.gov/ftc/privacy.htm when clicked on this link while
> apache 1.3.31 is running the page appears (which actually loads the
page
> http://www.ftc.gov/ftc/privacy.shtm). The document root has no such
file
> called privacy.htm
>
> However the same link does not work (page not found error 404) when
> apache 2.2.3 version is running.  Httpd.conf on 2.2.3 is same as
1.3.31
> except addition of two lines as  (AddOutputFilter INCLUDES .shtml,
> AddOutputFilter INCLUDES .shtm)

Thanks for (finally) providing real examples. That makes it easy to
see what is going on. And indeed, the server is sending a redirect
from privacy.htm to privacy.shtm. This Redirect may be in httpd.conf
or in an .htaccess file (in the document tree), but it must be there
someplace. The RedirectMatch that I suggested earlier would fix this,
although it might have negative consequences if there are some .htm
files that you don't want redirected. If you want a more limited
solution, you can use
Redirect /ftc/privacy.htm http://www.ftc.gov/ftc/privacy.shtm

Joshua.

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

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