Missing .htaccess

I have tried to download both the zip and the tarball to my computer, a linux computer. And I can't seem to find any .htaccess-file. I have enabled show-all-files-also-hidden. I also searched the packaged files and all it found was a htaccess-file (not hidden) in zp-core. I tried to use that one as .htaccess but I just get an error.

With no .htaccess under mainfolder I get this errormessage:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@marste.in and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

While using the htaccess as .htaccess under mainfolder I get this errormessage:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@marste.in and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.

How can I correct this?

Comments

  • hhm Member
    Is the rewrite engin in your webserver (apache I presume) active?
  • Yes, Drupal worked like a charm.
  • acrylian Administrator, Developer
    You apparently did not run the setup script which also means you perhaps did not read the installation instructions. The htaccess file is create by the setup script.
  • That explains the missing .htaccess. But what can I translate from the 404-message (above) that I recieve when trying to access the setup-script?
  • Found error, zp-core was not chmod 755
  • When I'm trying to install Zenphoto, I've got plenty of errors, first is 'magic quotes'. To make it work, I need this .htaccess and I just can't find it. There is no such a file in .zip and tar.gz downloads. I'm using xp, and option 'show hidden files' is on.

    zp-core is in chmod 755.

    What should I do?
  • acrylian Administrator, Developer
    Setup will create the htaccess file normally. If it is not able because of permissions and tells you to do it manually you find the file template within `zp-core`.

    Regarding magic quotes and file and folder permissions see the troubleshooting on the user guide
Sign In or Register to comment.