What's new

Removing double forward slashes from URL with Apaches mod_alias module

awphost

New Talker
PF Member
Messages
2
Highlights
0
Reaction score
0
Points
0
Peak Coin
0.000000¢
DB Transfer
0.000000¢
I am looking to install the mod_alias to help with a htaccess rule to prevent duplicate content.

# Remove double forward slashes<IfModule mod_alias.c> RedirectMatch 301 ^//(.*)$ http://example.com/$1</IfModule>When I check easyapache I see this module is available: Apache Module mod_vhost_alias

I am looking to add this module to apache: mod_alias

They do not seem the same however?

 
Back
Top