Discuss server installationa nd configuration issues here
Moderators: macek, egami, gesf
- New php-forum User
- Posts: 39
- Joined: Tue Nov 22, 2005 8:14 am
my problem is
i wanted redirect using module mod_rewrite
which file i add to it this code
Code: Select all
Redirect /index.cfm http://www.example.com/index.php
are .htaccess this ok file
if both no pease tell which file.
thanks in advanced your help
- Posts: 1717
- Joined: Sun Dec 29, 2002 5:03 am
- Location: Portugal / Sweden
That's the Redirect Directive and it makes part of the mod_alias module.
This is also possible with mod_rewrite, but... there's no need for that.
This directive is allowed in the .htaccess context, so create an .htaccess file with that code.
Who is online
Users browsing this forum: No registered users and 1 guest