PDA

View Full Version : Sections Not There...


assist
02-19-2006, 07:13 PM
I just installed the software, but don't seem to get any of the directories created that are needed...

http://www.assist.com/articles/

If you click on any of the Section links, there is nothing there. :eek:

Do I create these, should they be created for me, or are they part of the mod_rewrite magic?

I have mod_rewrite installed on the site and am using it for other things just fine.

I'm also confused as to which .htaccess file needs to go in my /articles directory (installed here) and what should really be in it? :rolleyes:

The documentation does not talk about this at all, so I used the one that came with the distribution.

--Brian
Assist.com

andy77
02-19-2006, 08:02 PM
Looks to me that your have some .htaccess in root that is "taking over" .htaccess that phpWordPress installs in your /article folder. Try posting your root .htaccess here for a quick view...

assist
02-19-2006, 10:54 PM
==> [/ .htaccess]

ErrorDocument 404 "/search.htm"

<Directory /articles>
AllowOverride All
</Directory>

==> [/articles .htaccess]

Options All -Indexes
#ErrorDocument 404 /index.php?error
ErrorDocument 404 /404.php

RewriteEngine On

RewriteRule ^category/([0-9]+).html/?$ index.php?category=$1 [L]
RewriteRule ^news/([0-9]+).html/?$ index.php?news=$1 [L]
RewriteRule ^print/([0-9]+).html/?$ print_version.php?id=$1 [L]
RewriteRule ^pdf/([0-9]+).html/?$ pdf_version.php?id=$1 [L]
RewriteRule ^comments/([0-9]+).html/?$ index.php?comments=$1 [L]
RewriteRule ^author/([^<]+).html/?$ index.php?author=$1 [L]

RewriteRule ^([^.]+)/?$ index.php?category_name=$1 [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([^<]+)/([^<]+).html/?$ index.php?news=$2 [L]

==>

BTW, there is no 404.php on this system.
Should this not be /articles/404.html ???


--Brian
Assist.com

Alex
02-20-2006, 10:39 AM
Yes, this should go to /articles/404.html
The default 404 is provided for root installation, if you install in subfolder either change the path, or place 404 in root.

As for main problem, please post you server access info to support so we can have a look.