Apache Server configuration support - Mod_rewrite not working in .htaccess

This is Interesting: Free IT Magazines  
Home > Archive > Apache Server configuration support > October 2006 > Mod_rewrite not working in .htaccess





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Mod_rewrite not working in .htaccess
jonnyblazed@gmail.com

2006-10-20, 7:27 pm

I've read a little bit now about mod_rewrite, but just testing it with
a simple rule I can't get it to work... I placed the following at the
top of my .htaccess file:

RewriteEngine on
RewriteRule shortcut u/user/index.html

I am using GoDaddy and they have mod_rewrite installed and enabled by
default on all their servers. So, I know thats not the issue.

I've also tried using a few regexp's like ^?/shortcut$?, ^/shortcut$,
^/?shortcut$ and so on, but none seem to work...

Am I doing something wrong?

PS
u/user/index.html DOES exist.

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com