MOD_REWRITE problem

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


Go Back   Usenet Forums > Web Server and Related Forums > Apache Web Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 10-10-2006
Peter Bowie
 
Posts: n/a
Default MOD_REWRITE problem

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


  #2 (permalink)  
Old 10-11-2006
Christoph Roeder
 
Posts: n/a
Default Re: MOD_REWRITE problem

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

  #3 (permalink)  
Old 10-11-2006
Peter Bowie
 
Posts: n/a
Default Re: MOD_REWRITE problem

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.


  #4 (permalink)  
Old 10-13-2006
Christoph Roeder
 
Posts: n/a
Default Re: MOD_REWRITE problem

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.


 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 05:37 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0