Welcome to Welcome to DNF.com™ - Domain Sales, Domain Forum, Domain Appraisals, Domain Registrars

If you are new to domains and looking to buy, sell and learn about domains then you have come to the right place. DNForum is the largest domain name community on the internet and continues to grow every day. There are over 105,000 domainers on DNForum doing everything from buying domains, selling domains, learning about domains and discussing domains. Take a minute and Register.

Register Today on DNForum IT'S FREE!

Results 1 to 7 of 7
  1. #1
    Gold Lifetime Member

    Join Date
    Feb 2006
    Posts
    149
    DNF$
    218
    Bank
    0
    Total DNF$
    218
    Donate  

    Configuring .htaccess file?

    My .htaccess is like this,
    Code:
    #RewriteEngine on
    ##point to installation directory
    ##if it is the root dir,enter /
    #RewriteBase  /
    If I have installed it on,

    www.mydomain.com/host/

    then how should I configure this?

    Please help me with this.

  2. #2
    The Bishop
    namestrands's Avatar
    Join Date
    Jan 2005
    Location
    Langley, VA
    Posts
    4,053
    DNF$
    3,312
    Bank
    0
    Total DNF$
    3,312
    Donate  

    Re: Configuring .htaccess file?

    Not sure what you want it to do. Can you explain.
    Enterprise Communications and Social Media in Uist

  3. #3
    Platinum Lifetime Member

    Join Date
    Nov 2006
    Location
    USA
    Posts
    493
    DNF$
    174
    Bank
    0
    Total DNF$
    174
    Donate  

    Re: Configuring .htaccess file?

    Take off one character from the beginning of each line. The script executes as commented.

  4. #4
    The Bishop
    namestrands's Avatar
    Join Date
    Jan 2005
    Location
    Langley, VA
    Posts
    4,053
    DNF$
    3,312
    Bank
    0
    Total DNF$
    3,312
    Donate  

    Re: Configuring .htaccess file?

    in other words the script should look like

    Code:
    RewriteEngine on
    ##point to installation directory
    ##if it is the root dir,enter /
    RewriteBase  /
    Enterprise Communications and Social Media in Uist

  5. #5
    Gold Lifetime Member

    Join Date
    Feb 2006
    Posts
    149
    DNF$
    218
    Bank
    0
    Total DNF$
    218
    Donate  

    Re: Configuring .htaccess file?

    Complete file is like this,
    Code:
    #RewriteEngine on
    ##point to installation directory
    ##if it is the root dir,enter /
    #RewriteBase  /
    
    #RewriteRule   ^show\.php/(.*)$ show2.php?img=$1 [L]
    #RewriteRule   ^out\.php/([a-z]{1})(.*)$ out2.php?$1=$2 [L]
    #RewriteRule   ^view\.php/(.*)$ view2.php?img=$1 [L]
    #RewriteRule   ^image\.php/([a-z]{1})(.*)$ images2.php?$1=$2 [L]
    #RewriteRule   ^gallery/([0-9]+)-([^/]*)/(.*)$ gallery.php?gal=$1&img=$3 [L]
    #RewriteRule   ^view/([0-9]+)-([^/]*)/(.*)$ gallery_body.php?gal=$1&img=$3 [L]
    As I have not installed it on root directory and installed it on www.example.com/host/

    should I write host at RewriteBase,

    Code:
    #RewriteEngine on
    ##point to installation directory
    ##if it is the root dir,enter /host/
    #RewriteBase  /host/
    Last edited by SUNNY ARSLAN; 02-26-2007 at 12:09 AM.

  6. #6
    Platinum Lifetime Member
    NAK's Avatar
    Join Date
    Mar 2005
    Location
    Singapore & USA
    Posts
    103
    DNF$
    440
    Bank
    0
    Total DNF$
    440
    Donate  

    Re: Configuring .htaccess file?

    i still dont understand what your trying to get it to do, why not contact your host?

  7. #7
    Platinum Lifetime Member

    Join Date
    Nov 2006
    Location
    USA
    Posts
    493
    DNF$
    174
    Bank
    0
    Total DNF$
    174
    Donate  

    Re: Configuring .htaccess file?

    Yes, you should change the rewritebase to the directory you are in.

Similar Threads

  1. Replies: 2
    Last Post: 10-16-2004, 06:11 AM
  2. M4a.com - Next MP3.com ... hearing offers
    By geekpipe in forum Domains for Sale (Domain Sales) - Fixed Prices Above $100
    Replies: 1
    Last Post: 06-28-2004, 10:22 PM
  3. M4a.com - Next MP3.com ... hearing offers
    By geekpipe in forum Domains for Sale (Domain Sales) - Fixed Prices Above $100
    Replies: 0
    Last Post: 05-15-2004, 10:26 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Domain name forum recommended by Domaining.com