The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

htaccess is preventing me from viewing other scripts (3 posts)

  1. erikcw
    Posted 10 years ago #


    I have WP installed in my webroot directry (public_html). I have a non WP script installed in /public_html/myscript/

    When I try to access /myscript/ I get a WP 404 error. It seems that htaccess in preventing me from viewing this folder.

    How can I create an .htaccess "exemption" for myscript/?


  2. Samuel B

    Posted 10 years ago #

    <Directory /usr/users/*/public_html/myscript>
    Order Deny,Allow
    Allow from all

    Put this before the WP directives.

  3. erikcw
    Posted 10 years ago #

    I tried putting that (with modified path) in my .htaccess file, and it started causing 500 server errors.

    Am I missing something?

    "/myscript" is a directory right? Does it need a trailing slash or something? (which I tried - but it caused the same error...)


Topic Closed

This topic has been closed to new replies.

About this Topic