I'm using relative links. The reason I'm not using absulute is
because I would have to change the php includes and css files to all
absolute. I guess that's not a big deal, but it seems a bit of an
overkill, or is that what you are simply supposed to do?
In regards to your last questions:
"Is there any specific reason NOT to use absolute urls for those? If
you enter sub.domain.com/images/knownimage.jpg does it work?
Is .htaccess on? Does Rewrite work for other things, or is this the
first you've used it on this machine?"
No. If I enter sub.domain.com/images/knownimage.jpg, it does not work.
Yes, .htaccess is on.
Yes, the Rewrite's are working fine for the site.
The other thought I had, and I haven't tried this yet, was to put a
second .htaccess file inside the directory that the subdomain is
pointing to, and have the rewrite there. That may be the answer.
Let me know your thoughts.
Thanks,
Mark
------------------------
On Mar 13, 2006, at 5:47 PM, email@hidden wrote:
At 1:30 PM -0800 3/13/06, Mark Wheeler wrote:
Hi,
I'm having trouble "sharing" the same folders in the main
(www.mydomain.com) domain with the sub (sub.mydomain.com) domain.
Here is what is happening. I put a file in a directory as such:
When a file that uses that css file is called within the
www.mydomain.com domain, everything works great. But when I call a
file that is within a subdomain such as:
Is there any specific reason NOT to use absolute urls for those? If
you enter sub.domain.com/images/knownimage.jpg does it work?
Is .htaccess on? Does Rewrite work for other things, or is this the
first you've used it on this machine?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Web-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/web-dev/email@hidden