Error: "The requested URL /private was not found on this server."

Jaime's Avatar

Jaime

05 Oct, 2011 07:35 PM

I installed a new fork installation by copying the contents of default-www into my server, which is /var/www/, and then copied the library folder into /var/www/.
The installation went fine.
However, now it's telling me that "The requested URL /private was not found on this server."

My latest error log is File does not exist: /var/www/private

So I can't log into the back end.
What's going on?

Attached it my ls -all directory tree.

  1. Support Staff 2 Posted by tijs on 06 Oct, 2011 07:10 PM

    tijs's Avatar

    Jaime, are you sure mod_rewrite is enabled?

  2. 3 Posted by Jaime on 06 Oct, 2011 07:54 PM

    Jaime's Avatar

    Yep - I'm attaching my virtualhost config entry, and my check to make sure mod_rewrite is enabled.

  3. Support Staff 4 Posted by tijs on 06 Oct, 2011 08:06 PM

    tijs's Avatar

    Is the error page one that is handled by fork, or is it something that is handled by the web server? If it is handled by the web server, can you check your servers error log?

  4. 5 Posted by Jaime on 06 Oct, 2011 09:09 PM

    Jaime's Avatar

    It's a browser error (well, apache).
    Here's the log report:

    Thanks!

  5. Support Staff 6 Posted by tijs on 07 Oct, 2011 06:14 AM

    tijs's Avatar

    Seems like your .htaccess isn't used. Can you remove the lines below from the .htaccess file:

    # options 
    Options -Indexes
    Options +FollowSymlinks
    
  6. 7 Posted by Jaime on 07 Oct, 2011 04:41 PM

    Jaime's Avatar

    I've removed everything BUT:
    Options -Indexes Options +FollowSymlinks
    from my .htaccess file.

    Attached is my .htaccess file, and my vhost configuration.

    This is very confusing...don't know why this isn't working. It makes sense in theory.

  7. 8 Posted by Dek on 09 Oct, 2011 11:23 AM

    Dek's Avatar

    I was banging my head on this issue as well. Here was my problem:

    a. I had a pre-existing .htaccess file that activated the necessary items (like the Rewrite Engine).

    b. I didn't see the .htaccess file included in the ZIP archive from Fork, because my computer automatically unzipped all the files but naturally hides any file whose name begins with a period.

    In other words, I didn't have the right htaccess file, and I kept getting this error. Once I figured out there was an .htaccess file hidden in the Fork directory on my computer, I was able to locate it and copy it up to my server.

    I suggest to the Fork maintainers that they include the htaccess information in a non-period-prefixed file (perhaps "copy-to-htaccess.txt"), or on a web page, for those of us who have this issue and are either too dull or too tired to figure it out in advance.

  8. 9 Posted by Dek on 09 Oct, 2011 12:59 PM

    Dek's Avatar

    Alternatively, perhaps the installer code could check the htaccess file to make sure it's correct and, if it's not, either install the correct code or suggest it.

  9. Support Staff 10 Posted by tijs on 09 Oct, 2011 03:18 PM

    tijs's Avatar
  10. tijs closed this discussion on 09 Oct, 2011 03:18 PM.

  11. Jaime re-opened this discussion on 11 Oct, 2011 02:11 PM

  12. 11 Posted by Jaime on 11 Oct, 2011 02:11 PM

    Jaime's Avatar

    Confirmed.

    I didn't try copying the .htaccess file that was bundled with the download.
    I copied the contents of the downloaded .htaccess file into my current, and that fixed it.

    It would be helpful to mention it, I'm glad you're looking at it in the next release.

    Thanks

  13. 12 Posted by Dek on 11 Oct, 2011 04:14 PM

    Dek's Avatar

    Glad it will be in the next release, tijs.

    Also glad this fixed it for you, Jaime.

  14. tijs closed this discussion on 11 Oct, 2011 07:38 PM.

Comments are currently closed for this discussion. You can start a new one.

Recent Discussions

18 May, 2013 10:13 AM
20 May, 2013 05:35 PM
18 May, 2013 09:57 AM
20 May, 2013 12:03 PM