Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2009-09-21 03:26:02
- SpicyNumberOne
- New Member
- Registered: 2009-09-21
- Posts: 1
My Root URL is not working, I have to add "index.php"
My question is addressed in the FAQ but the answer didn’t work. If I press the tab “view site” I get an “error 404”. I also have to type in “index.php” at the end of the url for the home page to appear in the browser. I am working on my local computer, localhost, if that makes any difference. Maybe related, I am aslo getting “Warning: cannot write to file directory /Users…” in the content tab. Any suggestions?
Offline
Re: My Root URL is not working, I have to add "index.php"
The file with the catchy name of ‘.htaccess’ controls which directories get redirected to index.php, something like this, so maybe you should check this first…
RewriteRule ^(.*) index.php
And if that’s in place then maybe it’s an Apache (You’re running Apache locally, right?) issue: In the file httpd.conf (normally in a folder ‘conf’) this line needs to be without a comment (‘#’ in front)
LoadModule rewrite_module modules/mod_rewrite.so
And if still no joy can you say which version of Textpattern, and which server you’re running locally then I might be able to help more…
Offline