logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Cannot access application in home folder
Author
Nivetha



Joined: 10 Oct 2018
Posts: 1
Location: India

PostPosted: Wed 10 Oct '18 11:53    Post subject: Cannot access application in home folder Reply with quote

I have setup a drupal site in a centOS 6 EC2 instance configured with apache as the web server. The application works fine in /var/www/html directory(default). This application needs to be moved to /home/centos for development purposes. But the following error is seen when the root directory is pointed to /home/centos.
I also tried creating Symboliclink in /var/www/html pointing to the folder in /home/centos eventhough it couldnot be accessed by the browser.

Quote:
Forbidden
You don't have permission to access /test1/ on this server.
Back to top
mraddi



Joined: 27 Jun 2016
Posts: 149
Location: Schömberg, Baden-Württemberg, Germany

PostPosted: Wed 10 Oct '18 13:44    Post subject: Reply with quote

Hello,

does the user Apache is running as have rights to the /home/centos/-directory?
If you are using the symlink-version also ensure that symlinks are allowed within apache's config:
Code:
Options FollowSymLinks
Back to top


Reply to topic   Topic: Cannot access application in home folder View previous topic :: View next topic
Post new topic   Forum Index -> Apache