Tagged Questions
0
votes
0answers
14 views
Move a website to subdomain while preserving (rewriting) URLs
I'm considering to move the (Confluence) wiki content of www.site.com to the subdomain wiki.site.com to make room for a well-designed landing page (Wordpress) which should take the wiki's place on ...
0
votes
1answer
130 views
How to silently auto-load from a subdirectory, but allow internal paths to think the file is located at site root?
I have files in my site root, and also files in its "Iternet_IE" directory. I need to:
1.) be able to call/include other files (e.g. headers or footers) from within files at either of those ...
5
votes
2answers
603 views
Redirect/rewrite dynamic URL to sub-domain and create DNS for subdomain
I have created an application in PHP, I would like to re-direct the following URL to corresponding sub-domain.
Dynamic URL pattern:
http://mydomain.com/mypage.php?user_name=testuser
I wish to ...
4
votes
2answers
268 views
case-specific mod rewrite on Wordpress subdomain multisite
I have split a Wordpress blog into multiple category-specific blogs using subdomains, as the topics in the original blog were too broad to be lumped together effectively.
Posts were exported from the ...
0
votes
1answer
169 views
How can I point a subdomain at another server? [duplicate]
Possible Duplicate:
How to point a domain to another subdomain?
Is it possible to set up a subdomain to render content of another server?
Let's say I wanted google.domain.com to render ...
0
votes
1answer
341 views
.htaccess mod_rewrite domain to subdomain
I need to redirect any domain to a sub-domain. I know this has got to be possible but for the life of me i can not figure it out. Any help is appreciated.
For example:
domain1.com
domain2.com
...
1
vote
3answers
91 views
mod_rewrite: rewriting http://$SOMETHING.app.example.com/ to http://www.example.com/app/$SOMETHING
I'm trying to make http://$SOMETHING.app.example.com/ transparently rewrite to http://www.example.com/app/$SOMETHING.
The config below is giving me a 404 and I'm not sure why.
ServerName ...
3
votes
4answers
1k views
How to create .htaccess to block access to a subdirectory that hosts a separate domain
So I am pretty noob at with creating code in .htaccess, but I know it is what I need to accomplish a pretty simple task. So here is what I want to do.
I have a main domain, (me.com), and I am hosting ...
3
votes
1answer
322 views
subdomains apache rewrite rules
Let's say I have my web folder as public_html. In there I have a sub folder. I can view the folder at:
www.mydomain.com/sub & mydomain.com/sub
What I want is:
sub.mydomain.com
This will show ...