Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
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.
| |
|
Topic: Cannot access application in home folder |
|
Author |
|
Nivetha
Joined: 10 Oct 2018 Posts: 1 Location: India
|
Posted: Wed 10 Oct '18 11:53 Post subject: Cannot access application in home folder |
|
|
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: 152 Location: Schömberg, Baden-Württemberg, Germany
|
Posted: Wed 10 Oct '18 13:44 Post subject: |
|
|
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 |
|
|
|
|
|
|