logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

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.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Root on eksternal hard drive
Author
7keeper



Joined: 20 Nov 2014
Posts: 2
Location: NORWAY

PostPosted: Thu 20 Nov '14 14:56    Post subject: Root on eksternal hard drive Reply with quote

Hello.
I installed Linux ubuntu 14.10 and have fixed everything EXCEPT the Apache section...
Have installed it localy and everything is just a "joy to the hut"

BUT, now I want to have the document root on my external hard drive and this is not easy ..

I opened: /etc/apache2/sites-available/000-default.conf
and changed it from :

DocumentRoot /var/www/html
to:
DocumentRoot /media/kettle/EC501EED501EBDF0

But then I get an error message when I open (in browser) localhost:

You do not have permission to access / on this server. Server Unable to read htaccess file, denying access to be safe ....

Remember I struggled something awful with this last time I did a complete reinstallation of ubuntu .. and then 10.04 .. Is there any real gurus here that can please help me to fix this ??
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7373
Location: Germany, Next to Hamburg

PostPosted: Thu 20 Nov '14 18:19    Post subject: Reply with quote

You have to change the path in the Directory block with /var/www/html too.
Back to top
7keeper



Joined: 20 Nov 2014
Posts: 2
Location: NORWAY

PostPosted: Fri 21 Nov '14 1:36    Post subject: Reply with quote

I've done that..
But still nothing changes...
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7373
Location: Germany, Next to Hamburg

PostPosted: Fri 21 Nov '14 18:37    Post subject: Reply with quote

File permissions? (chmod) ? The correct user?
Back to top


Reply to topic   Topic: Root on eksternal hard drive View previous topic :: View next topic
Post new topic   Forum Index -> Apache