subdomain not finding index file.

Status
Not open for further replies.

Zubair

Community Leader
Community Support
Messages
8,766
Reaction score
305
Points
83
Add the following line in .htaccess file in that folder

PHP:
DirectoryIndex index.php
 

descalzo

Grim Squeaker
Community Support
Messages
9,373
Reaction score
326
Points
83
It is an addon domain. You can also get there (sort of) via

http://lifeinmegapixels.com/epsomandewellrevisited/index.php

Can you post the contentes of .htaccess from public_html and the one from public_html/epsomandewellrevisite ? This is strange since your main domian has index.php as an index page and there is not problem with that.
 

wjh2303

New Member
Messages
139
Reaction score
0
Points
0
its a subdomain epsomandewellrevisited.lifeinmegapixels.x10hosting.com with the addon domain epsomandewellrevisited.co.cc to point at the subdomain whose root is in public_html/epsomandewellrevisited.

.htaccess in the subdomain root is:
Code:
DirectoryIndex index.php

.htaccess in domain root is:
Code:
DirectoryIndex index.php

RewriteEngine on

RewriteRule ^location/([^/\.]+)/?$ location.php?location=$1 [L]
RewriteRule ^locmini/([^/\.]+)/?$ locmini.php?location=$1 [L]
RewriteRule ^category/([^/\.]+)/?$ category.php?tag=$1 [L]
RewriteRule ^bylocation/([^/\.]+)/?$ bylocation.php?tag=$1 [L]
RewriteRule ^viewtl/([^/\.]+)/?$ viewtl.php?id=$1 [L]
RewriteRule ^list/([^/\.]+)/?$ list.php?sortby=$1 [L]
RewriteRule ^([^/\.]+)/?$ $1.php

i have no problems with the primary site. Thanks for the help
 
Status
Not open for further replies.
Top