![]() |
| | LinkBack | Thread Tools | Display Modes |
| |||
| Link problems - .htaccess - possible fix Several threads report problems with links not working on the main page. I had the same problem. I found that I had two seperate problems, both of which needed to be addressed. Here's what I did, in case it helps you. Symptom: Links not working. For example, the main page comes up but you click 'login' and get a file-not-found error. Problem 1: Pligg is using .htaccess to do some url re-writing. Check to make sure your server is configured to use url rewriting *AND* that it is allowing access to the .htaccess file. This will involve: a) Making sure mod_rewrite is enabled b) **Makeing sure htaccess can be accessed You may need to check the specifics of your server. I have the specific changes to httpd.conf that I used for my server listed at the bottom of this post. Also, see this discussion. Don't forget to restart the server after editing the config. Checking the error log can be helpful for troubleshooting. Problem 2: *SUBDIRECTORY* even if you get reweriting turned on and working properly, the .htaccess distributed with Pligg is setup for an install to the webroot for your server. Thus, if you installed to a subdirectory you're still going to have problems. In this case, change the fourth line of the .htaccess file from:RewriteBase / toRewriteBase /subdirectory Hope this helps. It caused me a good bit of aggravation at first. Appendix: For my apache server, I had to edit httpd.conf to enable and properly config url rewrites: CHANGE #LoadModule rewrite_module modules/mod_rewrite.so to Code: LoadModule rewrite_module modules/mod_rewrite.so Code: AccessFileName .htaccess <Files ~ "^\.htaccess$"> order allow,deny deny from all </Files> <Directory "/www/webroot"> AllowOverride None Order allow,deny Allow from all </Directory> to... Code: <Directory "/www/webroot"> AllowOverride All Order allow,deny Allow from all </Directory> |
| The Following 2 Users Say Thank You to rcalinjageman For This Useful Post: | ||
![]() |
« Previous Thread
|
Next Thread »
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| RSS friendly link not working. | can8dn | General Help | 4 | 01-03-2007 05:11 PM |
| How 2 link the #votes to the comment/story pligg page | noyp | General Help | 1 | 08-06-2006 08:39 PM |
| How do i change story link to url link | new new | Pligg Mods | 2 | 06-28-2006 08:21 AM |
| .htaccess Generator | 3dKiller | General Help | 0 | 05-24-2006 10:07 PM |
| .htaccess + admin bug. can anyone please help? | boofme | Bug Report | 4 | 03-08-2006 08:59 AM |




Linear Mode

