Advertisement

07.01.2008 at 09:27AM PDT, ID: 23530769 | Points: 250
[x]
Attachment Details

Why does my subdomain not work properly?

Asked by TerranRich in Apache Web Server

Tags:

So here's the deal. I have a site, www.xylotthemes.com, that works great with its .htaccess file. Things work just as they should. Then, I created a forum, under www.xylotthemes.com/phpbb3-forum, which didn't work so well unless I added the following line to the beginning of the .htaccess:

Options +FollowSymLinks
RewriteEngine on
RewriteBase /
RewriteRule ^/?$ phpbb3-forum/index.php

It basically redirected /phpbb3-forum to /phpbb3-forum/index.php, which I thought it should've done anyway, but it didn't work until I added that.

(I should point out that I'm on a shared hosting account, where each top-level domain points to a folder within my web space, which is just fine for my purposes.)

Now, I added a subdomain to my account (forum.xylotthemes.com) that points directly to the /phpbb3-forum directory. But no matter what I do to the .htaccess file, it just redirects to my main shared folder (www.betterdzn.com, which points to "/" on my hosting account). Could the xylotthemes.com .htaccess file be interfering with the proper function of the forum.xylotthemes.com (xylotthemes.com/phpbb3-forum) .htaccess file?Start Free Trial
[+][-]07.01.2008 at 04:03PM PDT, ID: 21912306

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.03.2008 at 11:18AM PDT, ID: 21927892

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.03.2008 at 07:41PM PDT, ID: 21930719

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20081112-EE-VQP-44 / EE_QW_2_20070628