Shared Hosting Plan + mod_rewrite (Apache Server)

Discussion in 'OT Technology' started by BackScratch, Mar 14, 2005.

  1. BackScratch

    BackScratch New Member

    Joined:
    Nov 10, 2004
    Messages:
    646
    Likes Received:
    0
    Location:
    Huntington Beach, CA
    Since I'm on a shared hosting plan w/ dreamhost, I'm unable to modify the httpd.conf file. I'm told by them I can go about using the module without editing the conf file, and just using the .htaccess file.

    This is what I have so far in my .htaccess file. Can anyone tell me if there's anything else I need to do, or if it's even possible to do this without uncommenting those lines in the httpd.conf file? Thanks.

    .htaccess
    Code:
      RewriteEngine on
      RewriteRule /projects/sinful/products/([0-9]+) /projects/sinful/show_blend.php?prod_id=$1
      
    as of now, I'm getting a 404 code, so it isn't working.
     

Share This Page