Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

.htaccess redirect for a single file 1

Status
Not open for further replies.
I added that redirect line to my .htaccess and the whole site became unreachable with a 500 error.
 
Hi

Check your logs. Check the HTTP headers send and returned. Check the permissions for the .htaccess file and what settings are allowed by [tt]AllowOverride[/tt] directives.

It works for me.

Feherke.
 
The big dog has the answer, it needs a full URL as the target. Thanks!
 
RewriteRule will also work. The difference is that a Redirect will cause the browser to display the target URL in the address box, but with a RewriteRule the displayed URL is the original one.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top