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,880 points
42 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
• 42,540 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,810 points
37 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
93 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,240 points
42 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,240 points
42 views
0 votes
1 answer
+13 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 26, 2018 in DevOps & Agile by DragonLord999
• 8,380 points
219 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
• 42,540 points
828 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
• 42,540 points
100 views