Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Jun 2010
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    htaccess problem

    Hi im new to the site and to htaccess, and right now im having a problem with my htaccess file, i have a mvc folder structure with no index on the root directory but a htaccess file wich must redirect every time to my public directory, im using xampp, and i want to have several projects there, so whenever i want to access a diferent project i would type http://localhost/xampp/ProjectName/

    In my htaccess files i just have this
    Code:
    RewriteEngine On
    RewriteRule    ^$    public/    [L]
    RewriteRule    (.*) public/$1    [L]
    but is not working, i keep getting internal server error 500, i don't know whats wrong, can anywone please tell me whats wrong?

  • #2
    Regular Coder Samhain13's Avatar
    Join Date
    Aug 2008
    Location
    Pilipinas
    Posts
    169
    Thanks
    4
    Thanked 18 Times in 18 Posts
    What do your Error Logs say? Chances are, you'll find something important there.
    I am a Man of Truth. I am a Free Human Person. I am a Peacemaker.
    ** Independent Multimedia Artist in Pasig **


  •  

    Posting Permissions

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