PDA

View Full Version : Subdomain issues? and a few other q's.


b_heyer
1-29-03, 08:52 PM
Hey,
I had subdomains working, but now i read the faq's and it says you can't use subdomains!? If anyone knows if this is true or if I am doing something wrong in the .htaccess file. If this is true could you please tell me if there is some alternative?
Also, I read a post in the announcments and it said form emailers were disabled, does this include the php mail() function?

Thanks in advanced,
Brandon

Calash
1-30-03, 09:32 AM
I use a TON of sub domains on my site with no problem. I think I have 5-6 right now. As far as I know there is no problem with using them.

b_heyer
1-30-03, 12:49 PM
Could you please copy and paste me an example of whats in your .htaccess file, incase I am doing anything wrong?

erodzen
1-30-03, 01:03 PM
I set mine up last week http://teaghan.rodzen.com by using the tutorial - works for me...

http://help.powweb.com/tutorials/htaccess/subdomain.php

Calash
1-30-03, 01:46 PM
Below is what is in my .htaccess file. All the subdomains work great and they are easy to edit.


RewriteEngine On
Options +FollowSymlinks
RewriteBase /
RewriteCond %{HTTP_HOST} old.necrotania.com
RewriteCond %{REQUEST_URI} !cgi-bin/ikonboard/ikonboard.cgi
RewriteRule ^(.*)$ cgi-bin/ikonboard/ikonboard.cgi$1 [L]

Options +FollowSymlinks
RewriteBase /
RewriteCond %{HTTP_HOST} chat.necrotania.com
RewriteCond %{REQUEST_URI} !/chatredir.html
RewriteRule ^(.*)$ /chatredir.html$1 [L]

Options +FollowSymlinks
RewriteBase /
RewriteCond %{HTTP_HOST} stories.necrotania.com
RewriteCond %{REQUEST_URI} !/storyredir.html
RewriteRule ^(.*)$ /storyredir.html$1 [L]

Options +FollowSymlinks
RewriteBase /
RewriteCond %{HTTP_HOST} community.necrotania.com
RewriteCond %{REQUEST_URI} !/commredir.html
RewriteRule ^(.*)$ /commredir.html$1 [L]

Options +FollowSymlinks
RewriteBase /
RewriteCond %{HTTP_HOST} forums.necrotania.com
RewriteCond %{REQUEST_URI} !invforum/
RewriteRule ^(.*)$ invforum/$1 [L]

Options +FollowSymlinks
RewriteBase /
RewriteCond %{HTTP_HOST} forum.necrotania.com
RewriteCond %{REQUEST_URI} !invforum/
RewriteRule ^(.*)$ invforum/$1 [L]
AddHandler server-parsed .htm
Options +Includes

b_heyer
1-30-03, 11:33 PM
:(
i feel like such an idiot...lol
i deleted the htaccess and reuploaded it and forgot to chmod it...whoops :-p well now it works again, but thanks for the help :)

Oh any idea on the emailer topic?