GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Is there only one way to set up subdomains in .htaccess? (https://gfy.com/showthread.php?t=222875)

stocktrader23 01-19-2004 03:55 AM

Is there only one way to set up subdomains in .htaccess?
 
I used this:

RewriteEngine On
Options +FollowSymlinks
RewriteBase /
RewriteCond %{HTTP_HOST} bro.acgcny.com
RewriteCond %{REQUEST_URI} !bro/
RewriteRule ^(.*)$ bro/$1 [L]


No luck

hyper 01-19-2004 03:58 AM

http://tools.notix.net/tools.php?cat...tool=subdomain

com 01-19-2004 04:07 AM

RewriteEngine on
RewriteCond %{HTTP_HOST} !^$
RewriteCond %{HTTP_HOST} !^www\.el8porn.net$
RewriteCond %{HTTP_HOST} ^[^.]+\.el8porn.net$
RewriteRule ^(.+) %{HTTP_HOST}$1 [C]
RewriteRule ^([^.]+)\.el8porn.net(.*) /home/el8porn/domains/el8porn.com/el8porn-subdomains/$1/$2

stocktrader23 01-19-2004 04:07 AM

Quote:

Originally posted by hyper
http://tools.notix.net/tools.php?cat...tool=subdomain
Thanks, nice tool. Guess my server is configured wrong though cause it doesn't work. I loathe server shit. :(

hyper 01-19-2004 04:12 AM

Quote:

Originally posted by stocktrader23


Thanks, nice tool. Guess my server is configured wrong though cause it doesn't work. I loathe server shit. :(

sorry to hear that

AgentCash 01-19-2004 04:19 AM

Make sure you set up a wildcard in DNS.

hyper 01-19-2004 04:26 AM

or u can use php

http://codewalkers.com/seecode/144.html


All times are GMT -7. The time now is 03:30 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123