[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

zenphoto



bonjour, je viens vous voir (encore) car j'arrive pas à faire fonctionner 
corectement zenphoto.

- install avec le script zen/setup : OK
- activation du rewriteengine dans apache : OK
- ajout d'un album 'test' et d'une photo (via l'insterface d'administration) : 
ok
- lancement de zenphoto en tant que simple internaute : pas accès aux photos : 
les liens sont du type 'http://test/' au lieu de 
'http://albumphoto.Monserveur.com/test'

Quelqu'un utilise-t-il zenphoto ? si oui comment ?


Merci




_Précision_:  j'utilise un vhost pour zenphoto (albumphoto.Monserveur.com)

zenphoto est livré avec un htaccess :
# htaccess file for zenphoto
# NOTE: Change the RewriteBase below to the absolute path to your zenphoto 
directory.

#<IfModule mod_rewrite.c>
RewriteEngine on

# !!! Change this to the absolute path !!!
#RewriteBase /zp
#RewriteBase /ZenPhoto
RewriteBase /public/

RewriteRule ^zen/(.*)$                     - [L]
RewriteRule ^tests/(.*)$                   - [L]
RewriteRule ^admin$                        admin/ [R]
RewriteRule ^admin/?$                      zen/admin.php [R,L]
RewriteRule ^admin/admin.css$              zen/admin.css [R,L]
RewriteRule ^admin/admin.js$               zen/admin.js [R,L]

RewriteRule ^page/([0-9]+)/?$              index.php?page=$1 [QSA,L]
RewriteRule ^([^/\.]+)/?$                  index.php?album=$1 [QSA,L]
RewriteRule ^([^/\.]+)/page/([0-9]+)/?$    index.php?album=$1&page=$2 [QSA,L]
RewriteRule ^([^/\.]+)/image/(thumb|[0-9]{1,4})/([^/\\]+)$    
zen/i.php?a=$1&i=$3&s=$2 [QSA,L]
RewriteRule ^([^/\.]+)/image/([^/\\]+)$    albums/$1/$2
RewriteRule ^([^/\.]+)/([^/\\]+)$          index.php?album=$1&image=$2 [QSA,L]

#</IfModule>



Reply to: