ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

expression engine Apache 403 error

February 11, 2011 6:21pm

Subscribe [3]
  • #1 / Feb 11, 2011 6:21pm

    CICAdmin

    14 posts

    After installing the multisite manager i did a reboot of my server and now this is what i get.

    Access forbidden!

    You don’t have permission to access the requested directory. There is either no index document or the directory is read-protected.

    Error 403

    What did i mess up and what is the best approach to resolve this issue. 

    Thanks

  • #2 / Feb 12, 2011 3:57pm

    Greg Salt

    3988 posts

    Hi cptkirkh,

    Is this on an unmanaged VPS? Did the initial install of EE work correctly? Please make sure that there are some files in the document root as specified in httpd.conf file. Additionally, please make sure that all the files in that directory have the appropriate permissions.

    Cheers

    Greg

  • #3 / Feb 13, 2011 12:36am

    CICAdmin

    14 posts

    this was a working test server in my company that i was doing some testing on.  I added the multi-site module then changed the name of the domain the for the website in not EE but also the vhosts file for the server.  I then did a reboot and then i started getting that error.  As far as the document root nothing has changed as far as files go on this server.

  • #4 / Feb 13, 2011 12:44am

    CICAdmin

    14 posts

    Can you explain to me how EE works with a webserver?  if i understand linux correctly when i go to my webpage for the webserver it should be looking for a default file that is listed in the Directory index line in the httpd.conf file or what is in the vhosts.d/vost.conf file.  When does EE take over to be the default controller of that webserver?  What does apache or EE do to have control?  What file tells it to in other words?  Thanks.

  • #5 / Feb 13, 2011 4:56pm

    Greg Salt

    3988 posts

    Hi cptkirkh,

    You have it right, the DirectoryIndex line tells Apache which files to look for in the defined webroot. EE starts running when the index.php file is run. Please also check that there aren’t any rewrite rules in the vhost.conf. Can you directly access any image file on your site?

    Cheers

    Greg

  • #6 / Feb 14, 2011 12:24am

    CICAdmin

    14 posts

    Greg,
      i checked my error_log file for apache and this seems to be my problem.

    client denied by server configuration: /srv/www/htdocs/na_cms/index.php

    What should the access rights be for the www directory?

    a couple fo mroe questions.  When setting up multi-site for EE does one have to setup vhosts to make it work or does EE handle the different domain names?  Then finally whne it comes to apache i have the normal httpd.conf file but i also have a yast2_vhosts.conf file inside of the vhosts.d folder.  If my yast_vhosts.conf file has the following
    <Directory >
      Options None
      AllowOverride None
      Order deny,allow
      Deny from all
    </Directory>

    yet my htpd.conf has
    <Directory >
      Options None
      AllowOverride None
      Order deny,allow
      Allow from all
    </Directory>

    which wins?

    as some additional info i went ahead and changed the httpd.conf file to say all from all and when i try to go to the control panel for EE it asks me if i want to download a php file.

  • #7 / Feb 14, 2011 8:43am

    Sue Crocker

    26054 posts

    Hi, cptkirkh.

    I don’t have an immediate answer for you.. let me ask the other members of the dev team for assistance. Thanks in advance for your patience.

  • #8 / Feb 14, 2011 1:51pm

    CICAdmin

    14 posts

    So i guess i have stumped the EE tech support with this issue?  Can someone provide me with a document that explains ways to troubleshoot this issue or at least where to begin?

  • #9 / Feb 14, 2011 4:32pm

    Ingmar

    29245 posts

    I am afraid this is almost certainly a server issue. A 403 error means that your server was configured to deny that particular request. You need to change your configuration to allow access as appropriate. Please talk to your server admin about it.

    As for using the MSM with domains, EE simply accepts that information, it doesn’t set them up: it’s to you or the host to set up the actual domains. Please note that they all need to be in folders that can access the system directory.

  • #10 / Feb 14, 2011 5:42pm

    CICAdmin

    14 posts

    i am the server admin.  I made a change in your product and now it stops rendering up the page.

  • #11 / Feb 14, 2011 5:46pm

    Ingmar

    29245 posts

    Sorry, I’m not quite sure what that means. A 403 error is always created by the server; I don’t see how this can be an EE issue as such.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases