Koozali.org: home of the SME Server

mod rewrite for my website

Offline fixit

  • *
  • 216
  • +0/-0
    • http://www.fixitcomputers.com.au
mod rewrite for my website
« on: March 02, 2006, 11:03:54 AM »
Mod Rewrite for Metadot

I need to know how to create a mod rewrite for my website

The website url currently looks like this

http://www.mydomain.com.au/metadot/index.pl

is there any way to remove /metadot from the url that is displayed in the browser so I can have a url that looks like http://www.mydomain.com.au

current httpd.conf for metadot

===============================================
Alias /images/ /home/e-smith/files/ibays/Primary/html/html/images/
Alias /js/ /home/e-smith/files/ibays/Primary/html/html/js/
Alias /metadot/ /home/e-smith/files/ibays/Primary/html/metadot/
Alias /public/ /home/e-smith/files/ibays/Primary/html/sitedata/public/
Alias /skins/ /home/e-smith/files/ibays/Primary/html/sitedata/skins/
Alias /htmlarea3/ /home/e-smith/files/ibays/Primary/html/html/js/htmlarea3/

<Location       "/metadot/">
SetHandler    cgi-script
PerlHandler    speedy::Registry
PerlSendHeader    On
Options       +ExecCGI
DirectoryIndex    index.pl
</Location>

================================================

Any suggestions
.........

djhomeless

mod rewrite for my website
« Reply #1 on: March 02, 2006, 11:49:35 PM »
You need to enable the AllowOveride directive in the httpd.conf template. You can read about my travails here:

http://forums.contribs.org/index.php?topic=29719.0

Geoffrey

Offline fixit

  • *
  • 216
  • +0/-0
    • http://www.fixitcomputers.com.au
mod rewrite for my website
« Reply #2 on: March 03, 2006, 12:44:58 AM »
did this help shorten you url's though
.........