Is anyone facing problems related to htaccess file? I uploaded the beta 4 code to my site : http://www.jhakaas.com
However, the 'discuss' and the 'trackback' wont work correctly. I had to manually change the link.php file so that instead of the simple url, i provide a link to http://<my-site>/story.php?id=15
Trackback and other links (cateogry) etc still give the same problem. I reviewed the rewriterules in the .htaccess file and they seem fine to me. although I had to comment out the following two:
#Options +FollowSymlinks
#Options Indexes FollowSymLinks
Else, I was getting a 404 error continously. Has anyone else faced this problem ?
thnx,
![]() |
| | LinkBack | Thread Tools | Display Modes |
| |||
| .htaccess problem anyone ? |
| |||
|
I had the same problem, and the only thing that fixed it was adding in one of the lines you commented out. #Options Indexes FollowSymLinks |
| |||
|
If I dont comment that line out, I get the following msg: Forbidden You don't have permission to access /shakeit.php on this server. Any help is appreciated. |
| |||
|
Try it like this, it fixed mine Options +FollowSymlinks #Options Indexes FollowSymLinks |
| |||
|
This is also my problem before and I already fixed this. open your .htaccess file then Options +ExecCGI after the Options Indexes FollowSymLinks This change works on my site. Hope ash will add this to .htaccess file on next build release Hope this helps.
__________________ http://www.kablogs.com - Blogging related news http://www.myhobbyhq.com - My Hobbies Do you have one? http://myhobbyhq.com/airsoftblog - About Airsoft Guns - tips, upgrades, do it yourself. |
| |||
|
That did the trick for me...thank you.
|
| |||
|
Hi! Merry Christmas :) I've got a problem with the mod_rewrite. I've installed Pligg 9 without problems and chose Method 2. My Friendly Urls works suitably except when i load an article, for example called /music/new-article/ (music is the category of the article) When i try to use one of the category's link in the sidebar, it redirects me to: /music/new-article/name-of-the-category-in-the-sidebar And i get an error message. Do you think what's the line with problem in my htaccess? I paste the entire file: Code: ##### Re-directing Begin #####
Options +Indexes +FollowSymlinks
RewriteEngine on
RewriteBase /noticias
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /.*index\.php\ HTTP/
## RewriteRule ^(.*)index\.php$ /$1 [R=301,L] ##
## Remove these two lines if you have a sub-domain like http://ashdigg.pligg.com or http://localhost
## Keep if your site it like http://www.pligg.com
RewriteCond %{HTTP_HOST} !^www\.
RewriteRule ^\/?(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]
## thanks to the many people who have posted this fix in the forums ##
##### Re-directing End #####
##### Friendly URLs Begin #####
Options +Indexes +FollowSymlinks
RewriteEngine On
RewriteBase /noticias
RewriteRule ^story/([0-9]+)/?$ story.php?id=$1 [L]
RewriteRule ^story/([a-zA-Z0-9-]+)/?$ story.php?title=$1 [L]
##### You can find the below line pre-made for you in the category management section of the admin panel ######
RewriteRule ^(all|videos|musica|conciertos|discos|festivales)/([a-zA-Z0-9-]+)/?$ story.php?title=$2 [L]
RewriteRule ^(all|videos|musica|conciertos|discos|festivales)/?$ ?category=$1 [L]
RewriteRule ^recommend/([a-zA-Z0-9-]+)/?$ recommend.php?id=$1 [L]
RewriteRule ^category/([a-zA-Z0-9]+)/?$ ?category=$1 [L]
RewriteRule ^category/queued/([a-zA-Z0-9]+)/?$ shakeit.php?category=$1 [L]
RewriteRule ^shakeit/([a-zA-Z0-9]+)/?$ shakeit.php?category=$1 [L]
RewriteRule ^story/([0-9]+)/editcomment/([0-9]+)?$ edit.php?id=$1&commentid=$2
RewriteRule ^story/([0-9]+)/edit/?$ editlink.php?id=$1
RewriteRule ^story/([0-9]+)/modify/([a-z]+)/?$ linkadmin.php?id=$1&action=$2
RewriteRule ^user/([a-zA-Z0-9-]+)/([a-zA-Z0-9-]+)/?$ user.php?login=$1&view=$2
RewriteRule ^user/([a-zA-Z0-9-]+)/?$ user.php?login=$1
RewriteRule ^search/([a-zA-Z0-9-]+)/?$ index.php?search=$1
RewriteRule ^login/?$ login.php
RewriteRule ^login/([a-zA-Z0-9-]+)/?$ login.php?return=$1
RewriteRule ^login/([a-zA-Z0-9-]+)/([a-zA-Z0-9-]+)/?$ login.php?return=$1/$2
RewriteRule ^register/?$ register.php
RewriteRule ^user/?$ user.php
RewriteRule ^topusers/?$ topusers.php
RewriteRule ^topstories/?$ topstories.php
RewriteRule ^about/([a-zA-Z0-9-]+)/?$ faq-$1.php
RewriteRule ^shakeit/?$ shakeit.php
RewriteRule ^submit/?$ submit.php
RewriteRule ^bugreport/?$ bugreport.php
RewriteRule ^rss2/?$ rss2.php
RewriteRule ^rss2/([a-zA-Z0-9-]+)/?$ rss2.php?status=$1
RewriteRule ^trackback/([0-9]+)/?$ trackback.php?id=$1
RewriteRule ^profile/?$ profile.php
RewriteRule ^admin/?$ admin_index.php
RewriteRule ^tagcloud/?$ cloud.php
RewriteRule ^tagcloud/range/([0-9]+)/?$ cloud.php?range=$1 [L]
RewriteRule ^tag/(.+)/?$ search.php?search=$1&tag=true [QSA,NC,L]
RewriteRule ^sneak/?$ sneak.php
RewriteRule ^pliggadmin/?$ admin_index.php
RewriteRule ^logout/([a-zA-Z0-9-]+)/([a-zA-Z0-9-]+)/?$ login.php?op=logout&return=$1/$2
##### Friendly URLs End #####
|
| |||
| Quote:
The link is what you see in your browser's status bar when you hover your mouse over the category. A redirect is a new url your browser is sent to after you've clicked the link. The redirected url is in the address bar of your browser when the page is loaded. |
| |||
|
I expressed myself bad, the english is not my fort :) I meant an URL. That url doesn't exists and I know it's a htaccess' problem, but my knowledge about it's very limited. In summary, the error happens when you try to use the category link sidebar in the inside of an article, because the categories shown this type of url: category-article/name-of-the-article-article-you-are-seeing/name-of-the-category-in-the-sidebar Thanks a lot and excuse my poor english O:-) |
| |||
| I don't understand. How do you know that? How can .htaccess change the urls the browser sees in the content of a page, when it's only acting on urls it receives in requests to the web server?
|
![]() |
« Previous Thread
|
Next Thread »
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| URL Method 2 and .Htaccess Problem... | imlerim | General Help | 11 | 03-28-2008 09:38 AM |
| URLMethod 2 Problem (with attached .htaccess) | Qwest | General Help | 1 | 01-14-2008 12:01 PM |
| .Htaccess problem | AgentVIP | General Help | 3 | 06-24-2007 05:43 PM |
| ::How to:: Use .htaccess file with Pligg | kbeeveer46 | General Help | 0 | 01-25-2007 10:16 AM |
| Link problems - .htaccess - possible fix | rcalinjageman | Installation and Upgrade Help | 0 | 09-10-2006 11:39 AM |





Linear Mode

