ZenphotoCMS Forum
.htaccess Server Error - 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 Server Error (/thread-2145.html)



.htaccess Server Error - MatthewH - 2008-01-26

When I copied zenphoto to my webiste directory (it is /photos), the .htaccess was excluded. I am not a developer and I am stumpted. From this forum:

A. I have checked to see if it is hidden. It is not.
B. I have modified the RewriteBase line to RewriteBase /photos

But I still can't get it copied to my local directory. If I try to import the file, I get the following error message: Server Error: The URL '.htaccess' is invalid. It may refer to a nonexistent file or folder, or refer to a valid file or folder that is not in the current Web.

How do I get this file to my site?

Kind regards.




.htaccess Server Error - sbillard - 2008-01-27

Did you use FTP to copy it? Are you running a MAC or PC? I understant that MACs make this file hidden unless you jump through hoops.

You might try the FileZilla FTP client http://filezilla-project.org/ for uploading, etc.




.htaccess Server Error - acrylian - 2008-01-27

MatthewH: If you use a Mac look you can't see, copy, work with a file with an "." at the beginning. Files with that are considered unix core files on a Mac and are sort of "forbidden". Please look my answer in this thread: http://www.zenphoto.org/support/topic.php?id=2242&replies=4

PS: There are more maclike programs for FTP than FileZilla like the open source Cyberduck or the commercial Transmit besides others.




.htaccess Server Error - MatthewH - 2008-01-28

I am on a PC. I used another tool through my web host to get the .htaccess loaded.

Now my challnege is that I am getting a 500 Internal Server Error when I navigate to the setup.php on my site. Any thoughts?

Kind regards,




.htaccess Server Error - sbillard - 2008-01-28

Check the permissions on the .htaccess folder and on the zp-core folder. They may not have execute permissions for everyone.




.htaccess Server Error - MatthewH - 2008-01-29

Some files were missing from the cgi-bin. Problem resolved. Thanks




.htaccess Server Error - Miem - 2008-01-29

Can you tell me what files were missing? My webhost upgraded the webserver to Apache2 and php5 and since then, I can't use the .htaccess file.




.htaccess Server Error - MatthewH - 2008-01-31

Miem,

Apparently, I was thorough enough to delete all of them. Sorry, no help here.

MH