cannot access a web folder url

3 replies
I cannot access a web folder
on my server although when I check
the FTP it says 0755 (manual)
and I have no index.php file
inside (which I know blocks access)

e.g. mysite.com/folder

It gives a 'not found error 404'

I've checked my security WP plugins,
de activated them, and still couldn't
access those folders

any idea what's blocking me access to it?

thank you!
#access #folder #url #web
  • Profile picture of the author wordpressguru
    Originally Posted by CodrutTurcanu View Post

    I cannot access a web folder
    on my server although when I check
    the FTP it says 0755 (manual)
    and I have no index.php file
    inside (which I know blocks access)

    e.g. mysite.com/folder

    It gives a 'not found error 404'

    I've checked my security WP plugins,
    de activated them, and still couldn't
    access those folders

    any idea what's blocking me access to it?

    thank you!
    You have to check in your httpd.conf if the directive DirectoryIndex is set.
    It might be something like
    Code:
    DirectoryIndex index.html
    or
    Code:
    DirectoryIndex index.php
    or
    Code:
    DirectoryIndex disabled
    Create a index.php and put this inside
    Code:
    <?php echo "It Works!"; ?>
    . Browse the directory, and see if the index works.Also, create a .htaccess file inside that directory and put this:
    Code:
    Options Indexes
    Hope will help.
    {{ DiscussionBoard.errors[8643812].message }}
  • Profile picture of the author JohnnyG11k
    hi

    thank you for your reply

    I use DreamHost and not sure where to check for this

    httpd.conf

    Please explain
    Signature
    You won't believe it!
    This NICHE made me $300,000...
    {{ DiscussionBoard.errors[8647781].message }}
    • Profile picture of the author wordpressguru
      Originally Posted by JohnnyG11k View Post

      hi

      thank you for your reply

      I use DreamHost and not sure where to check for this

      httpd.conf

      Please explain
      If you have a shared webhosting package it's not possible to modify httpd.conf since this is the configuration file for apache server. You can't even find it, since is in /etc/httpd/conf/, therefore you can't find it within your FTP server. The above can be used only if you are on a local webserver (xampp, wampp) or on a VPS or dedicated server.
      {{ DiscussionBoard.errors[8651242].message }}

Trending Topics