Results 1 to 2 of 2

Thread: Unable to access sub directories / folders with Magento installed at root?

  1. #1
    Junior Member Princessly's Avatar
    Join Date
    Oct 2012
    Location
    Princessly.com
    Posts
    29

    Unable to access sub directories / folders with Magento installed at root?

    I installed Magento at the root of my domain and I'm trying to install a forum to the sub folder at mydomain.com/forum/ but it seems the .htaccess of Magento (located at mydomain.com/.htaccess of course) is preventing any requests to the sub-directory /forum/.

    Whenever I access /forum/ or /anything it just gives 404 error instead of serving the actual files located there.

    Any idea I can fix this without breaking the URL rewriting for Magento? It's very annoying....

    Thank you!
    Live in the fairy tale, Princessly, the valiant store.

  2. #2
    Junior Member Princessly's Avatar
    Join Date
    Oct 2012
    Location
    Princessly.com
    Posts
    29
    Problem solved.

    Seems it's a permission issue because I had suPHP installed. While I did chmod everything under /forums/ to be 644 for files and 755 for folders, I didn't do so for /forums/ itself.

    This post has been very helpful: http://www.kavoir.com/2012/10/500-in...hp-script.html

    So all I needed to do is run this from SSH:

    Code:
    chown -R youruser /home/youruser/public_html/forums
    chgrp -R youruser /home/youruser/public_html/forums
    find /home/youruser/public_html/forums -type f -exec chmod 644 {} \;
    find /home/youruser/public_html/forums -type d -exec chmod 755 {} \;
    After chmod /forums/ itself to be 755, mydomain.com/forums/ is correctly accessible without any errors.
    Last edited by Princessly; 10-02-2012 at 10:24 AM.
    Live in the fairy tale, Princessly, the valiant store.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •