Forum Moderators: phranque
In other words, typing forum.mydomain.com should actually start as forum.mydomain.com/sub-folder/index.php
I tried 'DirectoryIndex /sub-folder/index.php' and the page loads but without any graphics.
how can I make it work?
how are you referring to urls in the image tag source attribute values?
are they absolute or relative?
have you checked the access logs to see what urls are being requested?
perhaps you can fix the image file urls so that thet are correct, move/copy the image files so that they are in the referred location, or internally rewrite the incoming image file requests to the correct location.
to start
forum.domain.com/subdir/index.php (which works properly)
I just need the code for htaccess to do that :)
I tried:
DirectoryIndex subdir/index.php
and the page starts but not all front page (phpbb forum) images are displayed
subdomain redirection in my cPanel is not working properly so it's of no help here.
ideas?
[edited by: Bobin_59 at 2:03 am (utc) on Oct. 13, 2007]
would it not be waay easier to create a htaccess that sets your homedir correctly?
when I point my browser to:
forum.domain.com/sub-dir/index.php
then all is working fine. The only question is how can I transfer anyone who types forum.domain.com into the URL box to the sub-dir and all would be well without fiddling with any templates?
I was under the impression it's an easy task to "redirect" visitors but it seems easier to delete everything and install the forum in the sub-domain's root folder?
[edited by: Bobin_59 at 6:11 am (utc) on Oct. 13, 2007]