Greetings,
Well I'm facing yet another annoying problem which i can't understand why it's happening.
BACKGROUND:
downloaded and installed apache 2.2.6 from the sources
tar ...etc
./configure (default with no extra flags)
make
make install
then : $ APACHEDIR/apachectl start
now so far everything is working fine , and server handles request from the default DocumentRoot.
So Where is the Problem?
Well , shows up when i want to change the DocumentRoot to anything else than the default one , where i get a Forbidden 403 error.
so far I've checked all possible causes that i know of including the insertion of the directory which lifts the restriction from the new DocumentRoot
Code:
<Directory "/root/Desktop">
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>
and of course i've added (actually it's before the first)
Code:
DocumentRoot "/root/Desktop"
and yes I've also set the required access permissions for the directory
and another thing that i've noticed is that changing the DocumentRoot works only when it lies within the ServerRoot.
nonetheless , I've seen other config files on working servers where DocumentRoot lies outside the ServerRoot .
also noting that the default apache docs don't mention anything specifiec about this particular issue.
So basically I'm totally lost right now because i can't understand what I've left out in order to do such a trivial configuration.
P.S Yes I'm offering public access to MY OWN DESKTOP , OHH WEEE !!
but don't be so eager to look what's inside cuz the whole box is firewalled from the outside XD
Cheers