OVH Community, votre nouvel espace communautaire.

URL Rewriting sous windows


Pharmespace
16/02/2004, 18h23
Je vois pas dans ton .htaccess des infos concernant de l'url rewriting.
Ca ressemble plutôt à ça normalement :

RewriteEngine on
RewriteRule ^vin-(.+)-(.+)-([0-9]+)\.html$ /index.php?page=vin&auto_vin=$3 [L]
RewriteRule ^([0-9a-zA-Z_\]+)\.html$ /index.php?page=$1 [L]

Là, tu nous donnes le contenu du httpd.conf non ?

phileas
16/02/2004, 15h54
Salut,

Je cherche à tester mes rewriting sur mon serveur Apache sous win XP.

Pouvez-vous m'expliquer comment lire le .htaccess sous windows ?

J'ai ceci :

Code:
#
# AccessFileName: The name of the file to look for in each directory
# for access control information.
#
AccessFileName .htaccess

#
# The following lines prevent .htaccess files from being viewed by
# Web clients.  Since .htaccess files often contain authorization
# information, access is disallowed for security reasons.  Comment
# these lines out if you want Web visitors to see the contents of
# .htaccess files.  If you change the AccessFileName directive above,
# be sure to make the corresponding changes here.
#

    Order allow,deny
    Deny from all


Merci d'avance.