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,060 points
811 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

How do I add the azure-devops commands to the Azure CLI in an offline on-premise server?

I wanted to add the azure-DevOps extension to the Azure ...READ MORE

Apr 19, 2022 in Other DevOps Questions by Kichu
• 19,040 points
580 views
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
549 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,240 points
1,193 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
4,053 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
5,197 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
1,279 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP