There wasn't an .htaccess file in the .zip I downloaded, so I'm trying to make my own. However, I don't know what's supposed to be in it.
I put everything in a folder called gallery, seen here:
http://jinabolton.com/gallery/However, I can't go to the admin because I don't know what to put in my .htaccess file. I know I could just tell it not to use it, but I'd rather have clean URLS. I do have modrewrite and all that.
Could someone please tell me what is supposed to be in this file? Thanks!
Comments
<IfModule mod_rewrite.c>
RewriteEngine On
# !!! Change this to the absolute path !!!
RewriteBase /gallery
RewriteRule ^zen/(.*)$ - [L]
RewriteRule ^tests/(.*)$ - [L]
RewriteRule ^admin$ admin/ [R]
RewriteRule ^admin/?$ zen/admin.php [QSA,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>
that is including your RewriteBase with the subdirectory.
you can always search for hidden files if you don't want to have to go through another program to find them...
http://www.osxfaq.com/DailyTips/02-2005/02-01.ws
RewriteBase /gallery exactly which part of that do i change? do i change "!!! Change this to the absolute path !!!" or what?
Basically, i've been working for hours trying to get this .htaccess to work and it doesnt. the site is located at www.duanejurma.com and i have the zenphoto gallery installed in that root folder. so what exactly do i need to have in that htaccess file to make everything work?
Thanks in advance.
Then no need to modify anything manually.
THanks