Board index   FAQ   Search  
Register  Login
Board index System Administration Server installation and configuration

configuration apache server

Discuss server installationa nd configuration issues here

Moderators: macek, egami, gesf

configuration apache server

Postby red fox » Sun Oct 22, 2006 5:05 am

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

thanks in advanced your help :)

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

Postby gesf » 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.
User avatar
gesf
Moderator
Moderator
 
Posts: 1717
Joined: Sun Dec 29, 2002 5:03 am
Location: Portugal / Sweden


Return to Server installation and configuration

Who is online

Users browsing this forum: No registered users and 1 guest

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.