PDA

View Full Version : My categories are returning error pages


Helena
02-08-2006, 04:23 AM
Hello,

I was very excited to finally install PHP Link Directory as it seems like just what I wanted. So I happily started adding my categories and sub categories and then went to view the directory and it happily showed me the main page with all the categories, but when I click on the categories, I get the standard error page for my website.

I have tried finding some previous similar threads on this forum and found one advising that the .htaccess file is either missing or empty. I checked mine and it's both not missing and not empty. The code inside the file reads:

RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule .* index.php [QSA,L]

Could someone point me in the right direction to fix this problem as I can't wait to launch my new link directory.

Kind Regards,

Helena

PS - Does anyone have a users manual for PHP Link Directory or know if one can be bought from anywhere? It would be a great help.

Helena
02-09-2006, 01:35 AM
Anyone??? Please.

mikedippel
02-09-2006, 01:54 AM
My .htaccess reads:
RewriteEngine On

RewriteCond %{QUERY_STRING} ^q=([A-Za-z_0-9]+)
RewriteRule ^search.html* /directory/index.php?q=%1 [QSA,L]
RewriteRule ^search-([a-zA-Z0-9]*).html /directory/index.php?q=$1 [QSA,L]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule .* index.php [QSA,L]

but this assumes that you have your files in a sub-directory called /directory

Also, be sure that your .htaccess file is in the same area as your directory is loscated. I had to create a directory to place the files into 'directory' and put the .htaccess file there.

Depending on how your server is configured, you may have to edit your httpd.conf file to allow the use of an .htaccess file

Hope this helps.

Helena
02-10-2006, 07:06 AM
Hello,

Just to let you know that the suggested changes to the .htaccess file still do the same thing - return error pages.

Can someone tell me what a httpd.cof file is and where I should be able to find it on my server - is it in the /cgi-bin directory or what. If I find it, what should it read?

Thanks

Helena

David
02-10-2006, 07:37 AM
Can you show us the url of your site?

Helena
02-10-2006, 09:34 AM
hello David,

The url where I have my directory is at {url no longer in service}

Thanks,

Helena

IGonza
02-10-2006, 11:07 AM
pm me login and pasword to your ftp-server and I will try to help you.

Thanks,
Igor.