Bonjour,
Je configure un serveur de développement/debug avec EasyPHP.
voici quelques lignes de httpd.conf :
les fichiers sont organisés comme suit :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21 ... DocumentRoot "${path}/www/brr" ... <Directory "${path}/www/brr"> Options Indexes FollowSymLinks AllowOverride All Order allow,deny Allow from all </Directory> <IfModule dir_module> DirectoryIndex index.html index.shtml index.wml index.pwml index.php index.php3 index.php4 index.php5 </IfModule> ... AliasMatch "(?i)^/(styles|scripts|images)/(module1|module2)" "${path}/www/brr_mod/$2/public/$1/" <Directory "${path}/www/brr_mod/module1/public"> Options FollowSymLinks Indexes AllowOverride None Order deny,allow Allow from all </Directory> ...
www/brr/index.php
www/brr/.htaccess
www/brr_mod/moduleX/public/images/...
www/brr_mod/moduleX/public/scripts/...
www/brr_mod/moduleX/public/styles/...
et .htaccess contient ceci :
lorsque je lance un appel à http://127.0.0.1/styles/module1/base.css
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6 RewriteEngine on RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule !\.(js|ico|gif|jpg|png|css)$ index.php
le fichier access.log me donne les lignes suivantes:
Il rentre donc dans une boucle de redirection... mais je n'ai défini de redirection nulle part !
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5 127.0.0.1 - - [25/Jun/2008:02:02:37 +0200] "GET /styles/module1/base.css HTTP/1.1" 301 252 127.0.0.1 - - [25/Jun/2008:02:02:37 +0200] "GET /styles/module1/base.css/ HTTP/1.1" 301 263 127.0.0.1 - - [25/Jun/2008:02:02:37 +0200] "GET /styles/module1/base.css/index.html/ HTTP/1.1" 301 274 127.0.0.1 - - [25/Jun/2008:02:02:37 +0200] "GET /styles/module1/base.css/index.html/index.html/ HTTP/1.1" 301 285 ... (20 fois)
Merci d'avance de m'indiquer où est le coupable (hormis moi)... ou de me donner une piste, au moins... parceque là, je sèche.






Répondre avec citation
Partager