Quantcast
Channel: Change XAMPP's htdocs web root folder to another one - Ask Ubuntu
Viewing all articles
Browse latest Browse all 10

Change XAMPP's htdocs web root folder to another one

$
0
0

I'm trying to change the XAMPP's web root default directory /opt/lampp/htdocs to another one like /home/me/Dropbox/public_html without success.

I've edited the file /opt/lampp/etc/httpd.conf

# old line: DocumentRoot "/opt/lampp/htdocs"DocumentRoot "/home/me/Dropbox/public_html"#...etc...# old line: <Directory "/opt/lampp/htdocs"><Directory "/home/me/Dropbox/Work/public_html">## Possible values for the Options directive are "None", "All",# or any combination of:#   Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews# etc...

I've did this as said in this article: Using Ubuntu One to synchronise htdocs?

Then I've restarted Apache and I've got a permission error 403 on every page I've called with the web browser.

So I've changed folder and files permission to 755.

I've did this as said in this article:
What file permissions should I set on web root?

The problem still remains the same, I have the 403 error on every page I try to reach with the web browser.

I have the same problem on a Mac using XAMPP.

So everythig works fine if the folder remains the original /opt/lampp/htdocs.

How can I change it correctly?


Viewing all articles
Browse latest Browse all 10

Latest Images

Trending Articles





Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>
<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596344.js" async> </script>