Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
Sections not working --
I haven’t been able to find any answers on my own (but feel free to ignore me if I have missed the answer elsewhere).
<b>The Problem:</b><br />
When I try to go to any section ( example: http://box59.bluehost.com/~trevorju/music ), I get the following error:<br />
404 Not Found
The requested URL does not exist.<br />
<b>Background info:</b>
- New install of Textpattern 4.0.2 for a new site.<br />
- Domain name is not yet pointing to the server. Reason: old temporary site is on a different host — while the new site is being built, client wanted to keep the old site up. The new site can be accessed via the following addresses:<br />
- http://70.98.111.59/~trevorju In diagnostics, I received the following error: Web Domain DNS lookup fails: 70.98.111.59, so I switched to the domain below and all checks pass:<br />
- http://box59.bluehost.com/~trevorju<br />
- The homepage DOES work<br />
- in .htaccess, RewriteEngine is turned Off <br />
- Permanent Link Mode is Messy <br />
- If I turn on RewriteEngine On in the .htaccess file AND set Permanent Link Mode to /section/title — the homepage and the rest of the site have the following type of 404 error:<br />
404 Not Found
The requested URL /~trevorju/ does not exist.<br />
<br />
<b>PHP info:</b><br />
can be found <a href=“http://box59.bluehost.com/~trevorju/info.php”>here</a><br />
<b>Diagnostic Info:</b><br />
Textpattern version: 4.0.2 (r1076)
last_update: 2005-12-04 18:56:34/2005-12-04 18:50:10
Document root: /usr/local/apache/htdocs
$path_to_site: /home/trevorju/public_html
Textpattern path: /home/trevorju/public_html/textpattern
Permanent link mode: messy
Temp folder: /home/trevorju/public_html/textpattern/tmp
Site URL: box59.bluehost.com/~trevorju
PHP version: 4.4.1
server_time: 2005-12-16 08:56:51
MySQL: 4.0.25-standard-log
Locale: en_US.UTF-8
Server: Apache/1.3.34 (Unix) mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 FrontPage/5.0.2.2635 mod_ssl/2.8.25 OpenSSL/0.9.7a PHP-CGI/0.1b
.htaccess file contents:
————————————
#DirectoryIndex index.php index.html
#Options +FollowSymLinks
#RewriteBase /relative/web/path/
<IfModule mod_rewrite.c> RewriteEngine Off RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^(.+) – [PT,L]
RewriteRule ^(.*) index.php </IfModule>#php_value register_globals 0
————————————
What is wrong? Does it have anything to do with the “~” in the URL? Is there a way to get this to work so that I can build the site prior to changing the nameservers for the domain?
thanks,
stacey
Offline
Re: Sections not working --
Update: I swapped the ~ out for %7e
box59.bluehost.com/%7etrevorju/
there was no change though
Offline
#3 2005-12-16 17:13:03
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: Sections not working --
Could it be because your permanent link mode is set to messy? Try /index.php?s=music.
Offline
Re: Sections not working --
well I feel like a complete idiot! :)
Thank you doggiez
it’s all good now!
Offline
Pages: 1