This is a discussion on Apache Redirect / to index.php using mod_rewrite .htaccess within the Web servers forums, part of the Mastering Servers category; How do I redirect / to index.php? Can any one guide me for this issue - I want to redirect Code: ...
|
|||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
|||
|
How do I redirect / to index.php? Can any one guide me for this issue - I want to redirect
Code:
sasa.com to sasa.com/index.php Last edited by root; 04-18-2008 at 11:21 PM. Reason: fixed bad english |
|
||||
|
Put something as follows in your httpd.conf or .htaccess file:
Code:
RedirectMatch ^/$ /index.php
__________________
Rocky Jr. You may have my body & soul, but you will never touch my pride! If you have knowledge, let others light their candles at it. Certified to work on HP-UX / Sun Solaris / RedHat |
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| redirect to www in lighttpd | muks | Web servers | 11 | 06-02-2007 10:55 PM |
| confused with mod_rewrite | kasimani | Coding in General | 0 | 01-20-2007 01:46 PM |
| mod_rewrite in apache: rewritecond | kasimani | Web servers | 0 | 01-19-2007 11:19 AM |
| How to redirect Output | puppen | Shell scripting | 15 | 12-06-2006 08:44 PM |
| .htaccess problems | rcordeiro | Linux software | 4 | 07-05-2006 07:32 PM |