I seem to be having a problem with htaccess... (fresh install)

mikeyg6754

Verified User
Joined
Jan 23, 2012
Messages
20
Last edited:
Hi,

From the error I can see it searches for: /home/dcdigital1/public_html/index.php
Can you change the .htaccess so that it works with /home/dcdigital1/domains/domain/public_html ?
Might be a permission error with the public_html symlink (not sure if this is possible).

regards,
Stijn
 
I changed the permissions on everything in the site to 777 for testing and it did not work. Also, I think it is using public_html only because it is the temp access url and that is the default domain.

Here are the contents of .htaccess if it helps.
Code:
RewriteEngine On
RewriteRule ^(control)($|/) - [L]
RewriteRule ^([a-zA-Z0-9_-]+)$ index.php?image=$1
RewriteRule ^([a-zA-Z0-9_-]+)/$ index.php?image=$1

Output of httpd -v
Code:
httpd -v
Server version: Apache/2.2.22 (Unix)
Server built:   May  9 2012 22:52:46

Output of PHP -v
Code:
 php -v
PHP 5.3.13 (cli) (built: May 10 2012 12:27:21)
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2012 Zend Technologies
    with the ionCube PHP Loader v4.0.14, Copyright (c) 2002-2011, by ionCube Ltd., and
    with Zend Guard Loader v3.3, Copyright (c) 1998-2010, by Zend Technologies

If you think any other outputs would help solve this, please let me know, and as I said before, I really appreciate all this help!

--
Thanks
Mike George
 
Back
Top