![]() |
|
.htaccess was not included - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: .htaccess was not included (/thread-89.html) |
.htaccess was not included - jinabolton - 2005-10-07 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! .htaccess was not included - rsilletti - 2005-10-07 What worked for me (taken from this forum) looks like this: RewriteEngine On !!! Change this to the absolute path !!!RewriteBase /gallery RewriteRule ^zen/(.)$ - [L] RewriteRule ^page/([0-9]+)/?$ index.php?page=$1 [QSA,L] that is including your RewriteBase with the subdirectory. .htaccess was not included - jinabolton - 2005-10-07 It worked! Thank you so much! .htaccess was not included - reidab - 2005-10-07 Chances are there was a .htaccess file but your system uses a unix-like filesystem and treats files beginning with a . as hidden files. .htaccess was not included - rsilletti - 2005-10-08 Does that on my Mac, I have to use Transmit 2 to create my .htaccess files, otherwise they look right but have what I think are line breaks that the server doesn't like. .htaccess was not included - amory - 2005-10-08 //Does that on my Mac you can always search for hidden files if you don't want to have to go through another program to find them... .htaccess was not included - kennysnipes - 2005-11-21 It may be a problem with packaging the installer with a .htaccess file. Maybe for the next package the .htaccess file could lose the dot, that way it's viewable. Maybe have instructions that say add the dot after FTPing up to server. I my self took forever to try and figure this one out. On OSX heres a way to view that hidden .htaccess file http://www.osxfaq.com/DailyTips/02-2005/02-01.ws .htaccess was not included - rubenkalath - 2008-06-12 I'm a newbie and a retard, but when it says in the .htaccess # !!! Change this to the absolute path !!! 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. .htaccess was not included - acrylian - 2008-06-12 Follow exactly the instructions: http://www.zenphoto.org/2007/12/installation-and-upgrading/ .htaccess was not included - sbillard - 2008-06-12 Did you copy the whole set of files from the distribution including the .htaccess file? If not, please do. Also be sure that the zenphoto scripts have write access to the root folder (and all the other zenphoto folders.) Then setup will fix your .htaccess file for you. .htaccess was not included - rubenkalath - 2008-06-14 I got it working thanks to your instructions. |