Ubuntu httpd.conf
Posted: Thu May 24, 2007 12:15 am
Yesterday I've Installed Ubuntu on my PC (Dual boot with Win XP) In Win XP I had my D drive as DocumentRoot (htdocs folder). Now I've installed XAMPP on Ubuntu. Everything works fine upto here.
I am trying to use the same htdocs folder(D drive) as my DocumentRoot in ubuntu also.
So I opend the /opt/lampp/etc/httpd.conf
And changed DocumentRoot tothen I've restarted Apache
But when I am entering http://localocalhost through my browser its showing me
I've also tried http://localhost/index.php but same thing happen's again.
And I am logged in as a root user.
I am trying to use the same htdocs folder(D drive) as my DocumentRoot in ubuntu also.
So I opend the /opt/lampp/etc/httpd.conf
And changed DocumentRoot to
Code: Select all
DocumentRoot "/media/HTTP/http/xampp/htdocs"But when I am entering http://localocalhost through my browser its showing me
Its worth to say that I can Read / write files on "/media/HTTP/http/xampp/htdocs" through file browser of ubuntu.Forbidden
You don't have permission to access / on this server.
-------------------------------------------------------------------------------------------------------------------------
Apache/2.2.4 (Unix) DAV/2 mod_ssl/2.2.4 OpenSSL/0.9.8e PHP/5.2.1 mod_apreq2-20051231/2.5.7 mod_perl/2.0.2 Perl/v5.8.7 Server at localhost Port 80
I've also tried http://localhost/index.php but same thing happen's again.
And I am logged in as a root user.