![]() |
apache httpd.conf question
how can i make that when i create a folder on my domain (domain.com/folder) the contain of the folder to be automaticaly accessible at folder.domain.com address Without entering every subdomain in the httaccess.conf file?
so, when i want create a subdomain to be enough to create a folder in my domain folder (domain.com/folder) how can i do this? |
nobody know? :(
|
I suppose you could use mod_rehahahahaha but i wouldnt exactly know how to do it
or, use a php redirect in the folder |
ServerAlias folder.domain.com
|
Quote:
|
Quote:
If i'm correct, you want to be able to create a folder (domain.tld/folder), and after the creation it should be automatically accessible through folder.domain.tld, right? The only way i could think of is using mod_rewri<b></b>te to be honest. |
<VirtualHost 66.230.172.61>
ServerName folder.ltd.com ServerAlias www.domain.ltd ScriptAlias /cgi-bin/ /path/to/domain.ltd/cgi-bin/ hahahahahahahahaRoot /path/to/domain.ltd/folder </VirtualHost> |
All times are GMT -7. The time now is 05:57 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123