Not Quite Working Just Yet...

Having a bit of trouble getting to different areas on the site...

I installed the system on my domain & web hosting using the http://www.font-journal.com/ address after passing the http://www.font-journal.com/check_host.php (although it didn't know about mod_rewrite, I know that phpLinkDirectory, which I have installed on the same account at http://www.hyperlinkdirectory.com works well).

I configured it and set it up in admin the way I wanted and then installed the 13,007 fonts bundle.

The admin section works great. Except that I cannot double-click on a user to edit his/her details. But I am having trouble with specific URLs from the front end menu...

It does appear to be a mod_rewrite issue.

home - works.
**********************
font categories - works (javascript link, afterall).
**********************
But, clicking on a category (such as graffiti) sends me to http://www.font-journal.com/c/33/graffiti which is posting a 404 error:
===============
"Not Found

The requested URL /websites/font-journal.com/categories.php was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

Apache Server at www.font-journal.com Port 80"
===============
**********************
browse - works (javascript link).
**********************
But clicking within to go to "D" I see that URL "http://www.font-journal.com/a-z/d" shows a 404 error...
===============
"The requested URL /websites/font-journal.com/browse.php was not found on this server."
===============
**********************
Top Rated goes to "http://www.font-journal.com/top_rated/" but the error says...
===============
"The requested URL /websites/font-journal.com/top_fonts.php was not found on this server."
===============
**********************

Surprisingly, "submit font" gets to "http://www.font-journal.com/submit_font.php" and a page is displayed. And the form appears to work, I get a "Thanks for your submission..." message, I have 1 font "Total font awaiting review/pending".

Any ideas on what is happening here? What to do to resolve this situation?

Thanks, Doug
 
Here's my .htaccess file which was uploaded...

Options +FollowSymLinks
RewriteEngine On
RewriteRule ^(.*).html$ $1.php [L]
RewriteRule ^c/(.*)/(.*)/(.*)/$ categories.php?c=$1&page=$3 [QSA]
RewriteRule ^c/(.*)/(.*)$ categories.php?c=$1 [QSA]
RewriteRule ^a-z/(.*)/(.*)/$ browse.php?l=$1&page=$2 [QSA]
RewriteRule ^a-z/(.*)$ browse.php?l=$1 [QSA]
RewriteRule ^top_rated/(.*)/$ top_fonts.php?page=$1 [QSA]
RewriteRule ^top_rated/$ top_fonts.php [QSA]
RewriteRule ^fonts/(.*)/(.*)/(.*)$ font_details.php?f=$1&success=1 [QSA]
RewriteRule ^fonts/(.*)/(.*)$ font_details.php?f=$1 [QSA]
RewriteRule ^view_file/(.*)/(.*)/(.*)$ view_archive_file.php?font=$1&file=$2 [QSA]
RewriteRule ^d/(.*)/(.*)$ download_font.php?f=$1 [QSA]

If I need to change its permissions, let me know what to.
 

adam

Administrator
Staff member
Dec 5, 2009
2,046
108
63
Resolved via email. The problem was GoDaddys different mod_rewrite setup. Adding forward slashes to all filenames resolve the problem. i.e.

Options +FollowSymLinks
RewriteEngine On
RewriteRule ^(.*).html$ /$1.php [L]
RewriteRule ^c/(.*)/(.*)/(.*)/$ /categories.php?c=$1&page=$3 [QSA]
RewriteRule ^c/(.*)/(.*)$ /categories.php?c=$1 [QSA]
RewriteRule ^a-z/(.*)/(.*)/$ /browse.php?l=$1&page=$2 [QSA]
RewriteRule ^a-z/(.*)$ /browse.php?l=$1 [QSA]
RewriteRule ^top_rated/(.*)/$ /top_fonts.php?page=$1 [QSA]
RewriteRule ^top_rated/$ /top_fonts.php [QSA]
RewriteRule ^fonts/(.*)/(.*)/(.*)$ /font_details.php?f=$1&success=1 [QSA]
RewriteRule ^fonts/(.*)/(.*)$ /font_details.php?f=$1 [QSA]
RewriteRule ^view_file/(.*)/(.*)/(.*)$ /view_archive_file.php?font=$1&file=$2 [QSA]
RewriteRule ^d/(.*)/(.*)$ /download_font.php?f=$1 [QSA]