The Joyent Community

A place where the Joyent community can gather, help each other out, and stay informed.

You are not logged in.

#1 2004-07-08 09:27:36

wazdog
Just a guy. Oh, and VC131.
From: Los Angeles
Registered: 2004-06-01
Posts: 325
Website  Expertise

automatic subdomains... index.html vs. index.php

I am trying to use the automatic subdomain feature, by creating a folder in my public_html. The problem is that if there is only an 'index.html' in that folder, the subdomain doesn't work. But if there is an 'index.php', it does.

I believe that index.php is first in the DirectoryIndex settings in Apache.conf, but shouldn't the mod_vd then jump to any other acceptable entries from DirectoryIndex? I assume 'index.html' is in there, but it's not working...


VC131. Not that I'm bragging.


(OK, yes I am.)

Offline

 

#2 2004-07-08 10:56:59

liampage
Member
From: Melbourne, AU
Registered: 2004-06-01
Posts: 122
Expertise

Re: automatic subdomains... index.html vs. index.php

I thought so too. But it doesn't seem to work that way. Of course you can, I'm sure, edit the .htaccess file in your subdomain to override this.

Offline

 

#3 2004-07-08 11:21:52

JoNtE
Member
From: Stockholm, Sweden
Registered: 2004-06-01
Posts: 69
Website  Expertise

Re: automatic subdomains... index.html vs. index.php

Offline

 

#4 2004-07-08 11:27:58

wazdog
Just a guy. Oh, and VC131.
From: Los Angeles
Registered: 2004-06-01
Posts: 325
Website  Expertise

Re: automatic subdomains... index.html vs. index.php

yeah, I know how to put in an .htaccess file, and add the index.html...

This was more a post about what I perceive to be a bug. (I actually use .php files almost exclusively, but when testing the subdomaining, used .html just because and wondered what was up)

Apache will hit up the index.html file if I head to 'www.domain.com/test/' but not if I visit 'test.domain.com' . Unless I'm crazy (debatable) this isn't how it should work, and is probably an issue with mod_vd...?

Last edited by wazdog (2004-07-08 11:28:28)


VC131. Not that I'm bragging.


(OK, yes I am.)

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson