Roundcube Community Forum

 

rename index.php

Started by indie, July 23, 2006, 07:21:01 PM

Previous topic - Next topic

indie

Hi, I just installed roundcube and its working beautifully. I am impressed. However I need to make a change, and need some help doing it correctly.

I want to rename index.php to something like mail.php so I can keep it in my webroot but not have it conflict with the rest of my site.

Any help would be very appreciated! :)

---Indie

dogbody

you could also setup your web server to use a virtual host and make the url something like mail.mydomain.com

indie

I could, but what I'm trying to do is integrate roundcube with another script in a way that the user will never leave the webroot. It should be just a matter of tracking down paths and redirects in other files but if someone has done this they could save me a lot of time.

Thanks for the reply!

---indie

ThorstenS

You could rewrite the URL with apaches mod_proxy?!
Or use an iframe *shiver*
 ;)

bpat1434

indie:

I don't think anyone has done what you're asking. You'd have to do it yourself. But you know.... it really wouldn't be that hard to do. If you use a good text-editor (like EditPlus) you can search in files in a directory (and its sub-directories) and look for a string. One that would be like: "./?" and rename that to something like: "mail.php?".

If I don't go to work today, I'll see if I can knock this out for you on the 280 SVN version.... but I'm not promising anything.
 
 

indie

Thanks for the input and replies. I'll get it eventually, just spread very thin for time these days (aren't we all). I think it would be a good option to have in this script though, pretty sure it would be some people's preference.

Thanks again,
---indie