PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Serveur - Sécurité et techniques > alt.apache.configuration > MOD_REWRITE problem
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
alt.apache.configuration Apache web server configuration issues.

MOD_REWRITE problem

Réponse
 
LinkBack Outils de la discussion
Vieux 10/10/2006, 22h07   #1
Peter Bowie
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut 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


  Réponse avec citation
Vieux 11/10/2006, 08h59   #2
Christoph Roeder
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut 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".

  Réponse avec citation
Vieux 11/10/2006, 18h04   #3
Peter Bowie
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut 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.


  Réponse avec citation
Vieux 13/10/2006, 07h40   #4
Christoph Roeder
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut 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.


  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 23h09.


Édité par : vBulletin® version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,08332 seconds with 12 queries