|
|
|
||||
|
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: Dec 2003
Location: 1123,6536,5231
Posts: 3,397
|
Hey Fris
What was that code you posted to do the easy subdomain creation again?
Thanks |
|
|
|
|
|
#2 |
|
HOMICIDAL TROLL KILLER
Industry Role:
Join Date: Dec 2004
Location: Sunnybrook Institution for the Criminally Insane
Posts: 20,419
|
a bump for you
|
|
|
|
|
|
#3 |
|
♦ Web Developer ♦
Industry Role:
Join Date: May 2005
Location: Full-Stack Developer
Posts: 12,472
|
Bump for the cause ;)
|
|
|
|
|
|
#4 |
|
Too lazy to set a custom title
Industry Role:
Join Date: Aug 2002
Posts: 55,475
|
Options +FollowSymLinks
RewriteEngine On # mod_dir fix RewriteCond %{HTTP_HOST} !^(www\.)?domain\.com$ [NC] RewriteCond %{HTTP_HOST} ^(.*\.)?([^\.]+)\.domain\.com$ [NC] RewriteCond %{DOCUMENT_ROOT}/subs/%2%{REQUEST_URI}/ -d RewriteRule [^/]$ http://%2.domain.com%{REQUEST_URI}/ [R=301,L] # strip sub subdomains RewriteCond %{HTTP_HOST} ^.*\.([^\.]+\.domain\.com)$ [NC] RewriteRule ^(.*)$ http://%1%{REQUEST_URI} [R=301,L] # abc.domain.com/ --> /subs/abc/ RewriteCond %{ENV:REDIRECT_STATUS} ^$ RewriteCond %{HTTP_HOST} !^(www\.)?domain\.com$ [NC] RewriteCond %{HTTP_HOST} ^([^\.]+)\.domain\.com$ [NC] RewriteCond %{DOCUMENT_ROOT}/subs/%1/ -d RewriteRule ^(.*)$ /subs/%1%{REQUEST_URI} [QSA,L]
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence. ![]() My Cam Feeds Script |
|
|
|
|
|
#5 | |
|
Too lazy to set a custom title
Industry Role:
Join Date: Dec 2004
Location: Happy in the dark.
Posts: 94,258
|
Quote:
!!
__________________
Vacares - Web Hosting, Domains, O365, Security & More - Paxum and BTC Accepted Windows VPS now available Great for TSS, Nifty Stats, remote work, virtual assistants, etc. |
|
|
|
|
|
|
#6 |
|
Too lazy to set a custom title
Industry Role:
Join Date: Aug 2002
Posts: 55,475
|
bump for brad incase he missed it
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence. ![]() My Cam Feeds Script |
|
|
|
|
|
#7 |
|
8.8.8.8
Industry Role:
Join Date: Mar 2006
Location: Noordermarkt
Posts: 30,509
|
Fris you wrote that code from scratch?
__________________
TAEMDLRMSKRJIXMRLSMRJ. |
|
|
|
|
|
#8 |
|
Confirmed User
Join Date: Dec 2003
Location: 1123,6536,5231
Posts: 3,397
|
Thanks buddy! Much appreciated!
|
|
|
|