change url of start page

Read 21996 times
Hello

well, the title explains by itself, i would like to change the start page from http://mydomain.com/start/customer to something else like a subdomain, like http://customer.mydomain.com.

I know its about apache and , thing is that in the customer folder there is just an .htaccess with rewrite rultes, which points to the start.php (which is enconded btw).

So i have a subdomain but i can't point it to the start page.

Any help? idea?

Thanks in advance.


it seems this is not easy :/ if i find a solution i will post it here.
Honestly I'm not sure whether this can be done.  You would need to somehow (perhaps using mod_rewrite?) manipulate the request so that the REQUEST_URI remains set as /start/username/ when the request is passed to start.php.  

If you can accomplish that from an alternate URI, perhaps using mod_rewrite as I suggested, then it should be do-able.  An alternative might be to create a PHP script that wraps start.php (via an include() or similar) and explicitly forces $_SERVER['REQUEST_URI'] to '/start/username' before the include() call.  Then you could put the wrapper script wherever you want.  I haven't tested either approach, just throwing out ideas, but hopefully that'll point you in the right direction. :)
Hi there,

Old topic but running into the same issue.

I made what you suggest, as I included the start.php into my index.php on my base directory : live.rsp.fm

Still replacing URI then you may see it still show /cast/start/rsp_fm directory which I would like to hide.

If you still have an idea how I can perform that.

Kind regards.

François Houlbrèque
As I mentioned I'm not sure it's possible at all in v2... there may be a mod_rewrite hack that could do it but if so I'm not aware of it.

I can tell you, though that it's possible in the upcoming v3 release.