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
• 7,040 points
166 views

1 answer to this question.

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
• 52,350 points

Related Questions In Other DevOps Questions

0 votes
0 answers
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,890 points
157 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,230 points
483 views
+1 vote
1 answer
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
1,590 views
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
• 52,350 points
3,758 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
• 52,350 points
508 views
webinar REGISTER FOR FREE WEBINAR X
Send OTP
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP