httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Smith, Cathy" <>
Subject [users@httpd] Problems with redirect statement
Date Mon, 08 Nov 2010 23:56:14 GMT

I'm having a problem getting a redirect to work properly.  This is RHEL5, Apache 2.2.  I need
this to redirect to happen: ->

This url works just fine:

It's just the redirect is a problem.  I used this redirect statement:

	    Redirect Permanent /index.html

This gave the following error: - - [08/Nov/2010:14:50:49 -0800] "GET /training/lmstraining/lmstraining/lmstraining/lmstraining/lmstraining/lmstraining/lmstraining/lmstraining/lmstraining/lmstraining/lmstraining/lmstraining/lmstraining/lmstraining/lmstraining/lmstraining/lmstraining/lmstraining/lmstraining/lms
HTTP/1.1" 404 520

I've tried other forms of the redirect, which resulted in the same error:

	Redirect Permanent /

Here is the section defining the virtual host from my http.conf:

    Redirect Permanent /index.html
    DocumentRoot /apps/retuning/training/www/Root/retuning
    ServerAlias retuning
    ErrorLog logs/retuning_error_log
    CustomLog logs/retuning_access_log common
    ScriptAlias /training/lms/cgi-bin/ "/apps/retuning/training/www/Root/lms/cgi-bin/"
    ScriptAlias /training/cgi-bin/ "/apps/retuning/training/www/Root/lms/cgi-bin/"
Alias       /training          "/apps/retuning/training/www/Root"
    <Directory "/apps/retuning/training/www/">
       AllowOverride All
       Options +FollowSymlinks -Indexes
       Order allow,deny
       Allow from all

Can someone point out what I need to do?

Thanks for your help.



Cathy L. Smith
IT Engineer
Pacific Northwest National Laboratory

Phone:  509.375.2687
Fax:        509.375.2330

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message