On 12/12/11 02:03, Matthew Finkel wrote:
On Mon, Dec 12, 2011 at 1:23 AM, Joseph <[email protected]> wrote:
In /etc/hosts I have:
127.0.0.1 localhost.localdomain localhost mydomain.ca syscon5
10.0.0.100 www.mydomain.ca
If I comment out: #10.0.0.100 www.mydomain.ca
I can access this domain.
By "access", do you mean the website loads without the access restriction?
in: modules.d/00_default_settings.conf
# We configure the "default" to be a very restrictive set of features.
<Directory />
Options FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
</Directory>
Is there a reason you're giving access to / ?
No the above statement actually prevent access, am I correct?
Thanks folks, SOLVED!
Another lesson learned.
I went for easy way out, tar.gz /var/* directory copy it to another machine.
Mistake #1
Extracted the file on the other machine as user (mistake #1) all the owner ship
of file got changed to joseph:joseph
Mistake #2
I use "meld" to compare the directors and copy missing files and directories to the destination machine. Meld - does not preserve owner-ship either.
The reason it didn't work as .htaccess file were changed to owner ship
root:root and it should be apache:apache.
So the solution was to use "rsync -av" it preserver owner ship and permission
:-/
Another lessor learned!
--
Joseph