Results 1 to 3 of 3

Thread: Mod_rewrite issue

  1. #1
    User
    Join Date
    12-11-09.
    Location
    New York, NY USA
    Posts
    87

    Default Mod_rewrite issue

    Do I need to specify the sub folder in the .htacess file?

    I have been unable to get mod-rewrite working. As far I can tell its enabled. I uses it locally with Drupal on the same XAAMP install also the typolight-check file ran and it checks out.

    Last I renamed the _htaccess file to .htaccess in the directory and restarted apache. I also checked my PHP.ini and the httpd.conf (mod_rewrite is definitely enabled)

    I'm using XAAMP and TL 2.75
    my location is in a subfolder
    http://localhost://mysite/

    thanks for any insight on this issue

  2. #2
    Official Contao Team
    Join Date
    06-10-09.
    Location
    Stuttgart, Germany
    Posts
    68

    Default Re: Mod_rewrite issue

    Hi,

    in XAMPP the TYPOlight directory is in the directory "htdocs" and then in a directory called "mysite"?

    Then you need to set in htaccess the path for RewriteBase instead of / to /mysite.

    Does this works?
    ---------------------------------------------------
    kind regards planepix

    Official Contao team member - Official Contao partner
    workshop contao conference site 2011
    workshop contao conference site 2012

  3. #3
    User
    Join Date
    12-11-09.
    Location
    New York, NY USA
    Posts
    87

    Default Re: Mod_rewrite issue

    Well I think I get what you mean but I don't want to install TL in my root of the htdocs folder. I currently have it running in a folder because I run several websites from multiple directories in my local xampp install some are running Drupal etc.

    I think I just need to change the path as you suggested in the htaccess file. I need to research how to do that.

    Thanks,

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
  •