+ Reply to Thread
Results 1 to 4 of 4

Thread: Modify .htaccess

  1. #1
    uniq111 is offline x10Hosting Member uniq111 is an unknown quantity at this point
    Join Date
    Apr 2010
    Posts
    1

    Modify .htaccess

    I removed the original content of the .htaccess file with followings:
    ---
    Options All -Indexes
    Options +FollowSymLinks
    RewriteEngine On

    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*) index.php

    AddType application/x-httpd-php .htm .html
    ---
    and got a 403 Forbidden error message.

    Would someone please let me know what's needed to get the modified file working ?

    Thanks

  2. #2
    Zubair's Avatar
    Zubair is offline x10 Super Spammer Zubair has a reputation beyond reputeZubair has a reputation beyond reputeZubair has a reputation beyond repute
    Join Date
    Jul 2009
    Location
    Pakistan
    Posts
    8,747

    Re: Modify .htaccess

    Please use correct section while posting.

    ***Moved to programming help***
    Zubair Barkat | Level 2 Tech
    █ 888-X10-9668 - zubair[@]x10hosting.com
    x10Hosting - Giving Away Hosting Since 2004

  3. #3
    leafypiggy's Avatar
    leafypiggy is offline Community Advocate leafypiggy is on a distinguished road
    Join Date
    Aug 2007
    Location
    Massachusetts
    Posts
    2,228

    Re: Modify .htaccess

    so the original .htaccess had

    Code:
    Options All -Indexes
    Options +FollowSymLinks
    RewriteEngine On
    
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*) index.php
    
    AddType application/x-httpd-php .htm .html
    ?

    Do you currently have a index.php file?

    That's the only reason I could see for it throwing a 403.
    Neil Hanlon | x10Hosting Support Representative
    Neil[at]x10hosting.com
    █ I'm always happy to help. Just ask a question in Free Hosting
    Terms of Service IRC

  4. #4
    misson is offline x10 Spammer misson is a jewel in the rough
    Join Date
    Mar 2008
    Location
    Libertatia
    Posts
    2,506

    Re: Modify .htaccess

    Quote Originally Posted by uniq111 View Post
    and got a 403 Forbidden error message.
    When you accessed what? Errors are a response to some action; HTTP status errors are in response to requesting a URL. An error status doesn't carry enough information for diagnosis. What would your doctor tell you if you said "I have a pain. What's the problem?"
    Be sure to read all pages linked in this post; they have further information that should prove useful. When asking for help, make sure you follow Eric Raymond's and Jon Skeet's guidelines for prompt, accurate responses. Please answer any questions I ask; they're not rhetorical (probably). Any posted code is intended as illustrative example, rather than a solution to your problem to be copied without alteration. Study it to learn how to write your own solution.
    Misson, not Mission.

+ Reply to Thread

Similar Threads

  1. Cannot modify/add MX entries
    By stpvoice in forum Free Hosting
    Replies: 0
    Last Post: 11-17-2009, 11:22 AM
  2. Modify Account
    By jeffrios in forum Free Hosting
    Replies: 2
    Last Post: 02-17-2007, 05:48 PM
  3. I want to modify account How?
    By ramin21 in forum Free Hosting
    Replies: 1
    Last Post: 11-24-2006, 02:56 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers