This is a discussion on MOD_REWRITE problem within the Apache Web Server forums, part of the Web Server and Related Forums category; I'm having a problem using mod_rewrite on apache on a new host (godaddy.com). They claim it is functioning ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
I'm having a problem using mod_rewrite on apache on a new host
(godaddy.com). They claim it is functioning properly, although I'm not getting any URL translation to work. I tried the exact same setup on two other hosts and they both work just fine. Even a simple .htaccess file like below doesn't work RewriteEngine on Options +FollowSymlinks RewriteRule ^test$ /upload.php Does anybody have experience with this kind of problem ? Thx, Peter |
|
|||
|
On Oct 10, 11:07 pm, "Peter Bowie" <p...@blacksunsoftware.com> wrote:
> I'm having a problem using mod_rewrite on apache on a new host > (godaddy.com). > > They claim it is functioning properly, although I'm not getting any URL > translation to work. > > I tried the exact same setup on two other hosts and they both work just > fine. > > Even a simple .htaccess file like below doesn't work What do you mean by "doesn't work"? ... getting an error or something? The problem may that AllowOverride for this VHost or directory doesn't contain "FileInfo". |
|
|||
|
Just ask your Webhoster, or try this in a .htaccess
RewriteEngine On RewriteRule .* http://example.com [R] If this works, then your Rewriterule is wrong. On Oct 11, 7:04 pm, "Peter Bowie" <p...@blacksunsoftware.com> wrote: > Doesn't work means in this case that the URL is not translated > and I'm getting a 'cannot access blabla.html on this server' message. > > How can I check the AllowOverride for the VHost ? > > P. |