Member
Member
eleses   07-03-2007, 19:34
#1

Finally got latest version (nearly) working by deleting the .htpaccess file as mentioned on a post I found. While the database is working fine none of the images are showing up. I'm assuming this is because the .htpaccess file isn't pointing to them. If I reload the .htpaccess file though I get the 500 server error. My .htpaccess file is below and my blogs address is http://blog.kabakun.net. Any advice now would be greatly appreciated.

htaccess file for zenphoto


NOTE: Change the RewriteBase below to the absolute path to your zenphoto directory.


RewriteEngine On

!!! Change this to the web path (eg: http://www.example.com/photos --> /photos) !!!


RewriteBase http://blog.kabakun.net/photos --> /photos


RewriteRule ^admin/?$ zen/admin.php [R,L]

RewriteCond %{REQUEST_FILENAME} -f [NC,OR]
RewriteCond %{REQUEST_FILENAME} -d [NC]
RewriteRule ^.*$ - [R,L]

RewriteRule index.php$ index.php [L,QSA]
RewriteRule ^page/([0-9]+)/?$ index.php?page=$1 [L,QSA]
RewriteRule ^page/([A-Za-z0-9-_]+)/?$ index.php?p=$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/([^/\]+)$ zen/i.php?a=$1&i=$2 [L,QSA]

Catch-all - everything else gets handled in PHP for compatibility.


RewriteRule ^(.*)/?$ index.php?album=$1 [L,QSA]

Member
Member
Chilifrei64   07-03-2007, 20:39
#2

change
RewriteBase http://blog.kabakun.net/photos --> /photos
to
RewriteBase /photos

in your .htaccess file.

Developer
Developer
trisweb   07-03-2007, 20:56
#3

Hmm... I should change that wording.

Or make it automatic. heh.

Member
Member
eleses   08-03-2007, 04:40
#4

Ok, changed that but still have the same problem. Any other ideas? Before updating it was working fine so I don't see how it could be with my server. Thanks.

Developer
Developer
trisweb   08-03-2007, 07:06
#5

You might just want to start fresh with the .htaccess file, from the installation. Re-do the RewriteBase as shown above.

Member
Member
eleses   08-03-2007, 17:06
#6

Ok, I am a muppet. I left the '--> photos' bit in the RewriteBase thing. As a pretty much newbie at all this though I agree that it could be worded a bit clearer. Thanks for the speedy responses though - it's working again!

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.