Hi,
I am trying to set this mug up via:
http://www.war59312.com/gallery/zen/setup.phpBut when I click login it always goes to:
http://www.war59312.com/zen/setup.phpI just uploaded the files to /gallery/ and running the installer.
Why? htaccess has "RewriteBase /gallery" .
Even without the htaccess file it does this so I know its not htaccess fault.
Also tried setting:
define('WEBPATH', '/gallery');
Any ideas?
Thanks,
Will
Comments
Any other ideas?
Thanks,
Will
BTW: If you need to use the WEBPATH you need to supply the full serverpath and not just the the folder.
Rygaard, if you click the login button you will see that it takes you to the wrong url, right password or not. So you get a 404.
Yes I tried setting webpath to full serverpath and still the same result. As if it has no effect.
Thanks again for your help,
Will
Sorry didn't try clicking the button since I obviously hadn't got any login information...
Another idea... Where's your .htaccess file placed? Is it in your root or is it where it's intended in your gallery folder?
Do you have:
`
RewriteEngine On
# !!! Change this to the web path (eg: http://www.example.com/photos --> /photos) !!!
RewriteBase /gallery`
In your htaccess - turning on the Rewrite Engine is a must.
however /photos is missing in all paths, so links don't work, photos and css don't show up, etc.
those links contain the folder "cgi-system" instead of "photos" though.
see yourself here: http://helgeat.dreamhosters.com/photos/
ps. followed all instructions religiously..
Working on redoing all setup and administration currently.
to avoid my kind of problem i'd suggest to add the following to the config-comments (bold):
.htaccess file is in /gallery :
Options -Indexes
DirectoryIndex admin.php
# Stop Ass Holes From Reading Private Files - Just In Case
# 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 web path (eg: http://www.example.com/photos --> /photos) !!!
RewriteBase /gallery
RewriteCond %{REQUEST_FILENAME} -f [NC,OR]
RewriteCond %{REQUEST_FILENAME} -d [NC]
RewriteRule ^.*$ - [R,L]
RewriteRule ^admin/?$ zen/admin.php [R,L]
RewriteRule ^page/([0-9]+)/?$ index.php?page=$1 [L,QSA]
RewriteRule ^([^/]+)/?$ index.php?album=$1 [L,QSA]
RewriteRule ^([^/]+)/page/([0-9]+)/?$ index.php?album=$1&page=$2 [L,QSA]
RewriteRule ^([^/]+)/image/(thumb|[0-9]{1,4})/([^/\\]+)$ zen/i.php?a=$1&i=$3&s=$2 [L,QSA]
RewriteRule ^([^/]+)/image/([^/\\]+)$ albums/$1/$2 [L]
RewriteRule ^([^/]+)/([^/\\]+)$ index.php?album=$1&image=$2 [L,QSA]
</IfModule>