how do i make apache2 site point outside the folder in ubuntu?

0 votes

In my apache2 site which is pointing to a working directory /var/www/ how do I make it point outside the folder in ubuntu?

This is the error I’m getting

Forbidden

You don't have permission to access / on this server.

Apache/2.4.7 (Ubuntu) Server at ovenfresh.codilar.net Port 80

my path /home/oven/www

Jul 6, 2018 in Other DevOps Questions by Nilesh
• 6,900 points
20 views

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
0 votes
in apche2 configuration file u have to add the folder

/etc/apache2/apache2.conf

then add this line

<Directory /bar/bhtl/www/> Options Indexes FollowSymLinks AllowOverride None Require all granted </Directory> you can add your path
answered Jul 6, 2018 by Kalgi
• 35,800 points

Related Questions In Other DevOps Questions

0 votes
1 answer

How do I share Build Definitions across Projects in Visual Studio Online?

VSTS does not support sharing build definitions ...READ MORE

answered Jul 5, 2018 in Other DevOps Questions by DareDev
• 6,560 points
21 views
0 votes
1 answer

How do I set variable if a specific package version is installed in CFEngine?

Here is what you can do.Just use packagesmatching to ...READ MORE

answered Jul 12, 2018 in Other DevOps Questions by Atul
• 10,200 points
51 views
0 votes
1 answer

How do I preserve local ivy repository in Bluemix BUILD & DEPLOY?

You're right--the pipeline spins up a new ...READ MORE

answered Jul 17, 2018 in Other DevOps Questions by Atul
• 10,200 points
24 views
0 votes
1 answer

How do I manage stranded resources in Chef?

Try the follow the follow this procedure. ...READ MORE

answered Jul 23, 2018 in Other DevOps Questions by Atul
• 10,200 points
29 views
0 votes
1 answer
+13 votes
2 answers
0 votes
1 answer

How to stop sqlplus command in unix shell script when any sql fails

One idea would be to launch the ...READ MORE

answered Jul 16, 2018 in Other DevOps Questions by Kalgi
• 35,800 points
157 views
0 votes
1 answer

Capistrano deploy error saying "end of file reached" while deploying to Ubuntu server

Seems like Capistrano can't connect to the server ...READ MORE

answered Jul 3, 2018 in Other DevOps Questions by Kalgi
• 35,800 points
38 views

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.