configuration apache server

Discuss server installationa nd configuration issues here

Moderators: egami, macek, gesf

Post Reply
red fox
New php-forum User
New php-forum User
Posts: 39
Joined: Tue Nov 22, 2005 8:14 am

Sun Oct 22, 2006 5:05 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
to redirect?
are .htaccess this ok file :help: or mod_rewrite?
if both no pease tell which file.

thanks in advanced your help :)

red fox

User avatar
Posts: 1716
Joined: Sun Dec 29, 2002 5:03 am
Location: Portugal / Sweden

Mon Oct 23, 2006 12:24 am

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.
Gonçalo "gesf" Fontoura

Post Reply