Help - Search - Members - Calendar
Full Version: Subdomain .htaccess handling
The Planet Forums > Control Panels > cPanel/WHM
propro
Hey,

Apache Core 1.3.28
WHM 7.4.0 cPanel 7.4.0-R11
RedHat 7.3 - WHM X v2.1

I´m experiencing the following problem:

For subdomains I create (http://xxxx.domain.com) that point to /home/johndoe/public_html/xxxxx

(xxx being the subdomain folder)

When I enter the subdomain, I´m always treated with a 404, unless I end it with index.html or index.php or whatever file is my index in there!

This problem DOES NOT occur for full domains (http://www.domain.com) and everything in my httpd.conf is fine!

I also tried putting a .htaccess file inside the subdomain folder:
(/home/johndoe/public_html/xxxxx/.htaccess)
and .htaccess containing:

DirectoryIndex index.php

Yet that doesn´t work either, again, w hen typing
http://xxxx.domain.com/index.php it DOES work

So this problem only occurs for subdomains which I later found out, so somebody undoubtely had the same problem and has a fix, thanks in advance and thank you for your time!
propro
sorry for the shameless *bump* but I really don´t know what to do, hope someone reads this!
Eli_ch
hi,

i have similiar problem with my subdomains!
take a look to this thread:
http://forums.rackshack.net/showthread.php...&threadid=30483
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.