![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Join Date: Jun 2002
Location: france
Posts: 996
|
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? |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Join Date: Jun 2002
Location: france
Posts: 996
|
nobody know?
![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Retired
Industry Role:
Join Date: Dec 2002
Posts: 21,324
|
I suppose you could use mod_rehahahahaha but i wouldnt exactly know how to do it
or, use a php redirect in the folder
__________________
2 lifeguards for Jessica |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Confirmed User
Join Date: Jan 2003
Location: Within my lucid dream world.
Posts: 250
|
ServerAlias folder.domain.com
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 | |
Retired
Industry Role:
Join Date: Dec 2002
Posts: 21,324
|
Quote:
__________________
2 lifeguards for Jessica |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 | |
Confirmed User
Join Date: Aug 2003
Location: Netherlands
Posts: 2,190
|
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. |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
Confirmed User
Join Date: Jan 2003
Location: Within my lucid dream world.
Posts: 250
|
<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> |
![]() |
![]() ![]() ![]() ![]() ![]() |