Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2007-03-14 16:56:15
- csit
- New Member
- Registered: 2007-03-14
- Posts: 2
path issue during installation
Hi,
I just downloaded textpattern-4.0.4 and followed the detailed installation instructions.
I was able to get the connection with the mySQL database working and copied the text generated by the installer to the config.php file in the appropriate directory.
Currently when I try to access the site, I get a 404 not found error if I enter the URL
http://www.<site>.net/tp-blog/
Response:
The requested URL /home/<user_id>/www.<site>.net/public_html/tp-blog/index.php was not found on this server
However, if I go there directly:
http://www.<site>.net/tp-blog/index.php
then it works.
Likewise I can access the administration of the site directly:
http://www.<site>.net/tp-blog/textpattern/index.php
but it doesn’t work if I do not include the index.php.
***
It wouldn’t bother me too much to have to enter the index.php, but the links on the site, such as the title image, etc. automatically refer to the URLs without the index.php
I tried adding a doc_root to the config.php file and adjusting the paths I could find in the admin screens. Nothing seemed to adjust the path that appeared in the error message, however.
Can anyone tell me where to adjust this path in the textpattern files or config?
Judging by the path for txpath, I think the “/home/…” should be “/home3/…”
Oh, also, the diagnostics says “all checks passed.”
Thanks,
Derrick
Offline
Re: path issue during installation
Sounds like an htaccess issue.
Usually, servers are set up so that if no page is provided, it reverts to index.html, index.php, or other index.<ext> that the server supports. My guess is that your server is only set up for index.html, but not to index.php.
Do you have an index.html? If you have an index.html, it should be going there.
You can ask your server admin, or if your account supports .htaccess files, you can do it yourself:
http://www.javascriptkit.com/howto/htaccess6.shtml
For more on htaccess:
http://www.javascriptkit.com/howto/htaccess.shtml
Offline
#3 2007-03-14 18:19:36
- csit
- New Member
- Registered: 2007-03-14
- Posts: 2
Re: path issue during installation
Thanks for your reply. It worked
Well, I created an index.html file and uploaded it to the directory, and I still got the same error. It didn’t see the file.
Then I created an .htaccess file pointing to index.php then index.html—and then the site worked fine.
Thanks for your suggestions.
Offline
Pages: 1