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>








Linear Mode




