[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

Question
[x]
Attachment Details

Why does my subdomain not work properly?

Asked by TerranRich in Apache Web Server

Tags: PHP

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?
[+][-]07/01/08 04:03 PM, ID: 21912306Expert Comment

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/08 11:18 AM, ID: 21927892Author Comment

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/08 07:41 PM, ID: 21930719Expert Comment

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...
20091111-EE-VQP-92 / EE_QW_2_20070628