Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Post Installation Help
Author Message
daltoniko
Regular
Regular



Joined: Dec 19, 2004
Posts: 61

PostPosted: Fri Sep 30, 2005 12:09 pm Reply with quote

I have installed an easy mod like googletap.

It stop to work and i don't know why.
this is the link
http://www.rubapanettoni.com/preview/index.php

if you read a news or forums ---> page not found.

here my htaccess:

Code:
# -------------------------------------------

# Rewrite Engine
# -------------------------------------------

RewriteEngine On

RewriteBase /

#Articles
RewriteRule ^article-([0-9]*)-([a-z]*)-([0-9]*)-([0-9]*).html article.html$1&mode=$2&order=$3&thold=$4
RewriteRule ^article([1-9][0-9]*).* article.html$1
RewriteRule ^article-topic-([0-9]*).html article-topic-.html$1
RewriteRule ^allnews.html modules.php?name=News&file=allindex

#Forums
RewriteRule ^forumx([0-9]+)-([0-9]+)-([0-9]+).html forums.html?file=viewforum&f=$1&topicdays=$2&start=$3
RewriteRule ^forum([1-9][0-9]*)-(mark|start)([a-zA-Z0-9_]*).html forums.html?file=viewforum&f=$1&$2=$3
RewriteRule ^forum([1-9][0-9]*).* forums.html?file=viewforum&f=$1
RewriteRule ^postx([0-9]+)-([0-9]+)-([0-9]+).html forums.html?file=viewtopic&t=$1&start=$2&postdays=$3&postorder=asc&highlight=
RewriteRule ^postxf([0-9]+)-([0-9]+)-([0-9]+).html forums.html?file=viewtopic&t=$1&postdays=$2&postorder=asc&start=$3
RewriteRule ^posts([0-9]*)-(start|view|highlight)([[:punct:]/:\-\'(){}.&=_a-zA-Z0-9\ ]*).html forums.html?file=viewtopic&t=$1&$2=$3
RewriteRule ^topic([1-9][0-9]*)-([a-zA-Z0-9]*).html forums.html?file=viewtopic&t=$1&$2=topic&start=0
RewriteRule ^post(p|t)([1-9][0-9]*).* forums.html?file=viewtopic&$1=$2
RewriteRule ^register-coppa-([a-zA-Z0-9_]*).html forums.html?file=profile&mode=register&agreed=true&coppa=$1
RewriteRule ^register-([a-zA-Z0-9_]*).html forums.html?file=profile&mode=register&agreed=$1
RewriteRule ^poster([a-zA-Z0-9_]*)-([0-9_&]*)_([a-zA-Z0-9_&=[:punct:]\.\;]*).html forums.html?file=modcp&mode=$1&p=$2&t=$3
RewriteRule ^modcp([0-9]*)-([a-zA-Z0-9]*).html forums.html?file=modcp&t=$1&mode=$2
RewriteRule ^forums-([a-zA-Z0-9_]*)-([a-zA-Z0-9_]*)-([0-9]*)-([1-9][0-9]*).html forums.html?file=$1&mode=$2&t=$3&popup=$4
RewriteRule ^forums-([a-zA-Z0-9_]*)-([a-zA-Z0-9_]*)-(p|t|f|u|popup)-([0-9]*).html forums.html?file=$1&mode=$2&$3=$4
RewriteRule ^forums-([a-zA-Z0-9_]*)-([a-zA-Z0-9_]*).html forums.html?file=$1&mode=$2
RewriteRule ^forum([a-zA-Z0-9_]*)-([a-zA-Z0-9_]*)-([a-zA-Z0-9_]*)-([a-zA-Z0-9_]*).html forums.html?file=search&$1=$2&$3=$4
RewriteRule ^forums([a-zA-Z0-9_]*)-([a-zA-Z0-9_]*)-([a-zA-Z0-9_]*).html forums.html?file=$1&$2=$3
RewriteRule ^forum-([a-zA-Z0-9_]*).html forums.html?file=$1
RewriteRule ^forums.html forums.html

#Your Account
RewriteRule ^userinfo-([a-zA-Z0-9_-]*).html userinfo-.html$1

#Topics
RewriteRule ^topics.html topics.html

#Downloads
RewriteRule ^downloads-cat-([0-9]*).html modules.php?name=Downloads&cid=$1
RewriteRule ^downloads-getit-([0-9]*).html modules.php?name=Downloads&op=getit&lid=$1
RewriteRule ^downloads-modify-([0-9]*).html modules.php?name=Downloads&op=modifydownloadrequest&lid=$1
RewriteRule ^downloads-order-([0-9]*)-(titleA|titleD).html modules.php?name=Downloads&cid=$1&orderby=$2
RewriteRule ^downloads-new.html modules.php?name=Downloads&op=NewDownloads
RewriteRule ^downloads-pop.html modules.php?name=Downloads&op=MostPopular
RewriteRule ^downloads-new-days-(7|14|30).html modules.php?name=Downloads&op=NewDownloads&newdownloadshowdays=$1
RewriteRule ^downloads-new-date-([0-9]*).html modules.php?name=Downloads&op=NewDownloadsDate&selectdate=$1
RewriteRule ^downloads-pop-(1|5|10|25|50)-(num|percent).html modules.php?name=Downloads&op=MostPopular&ratenum=$1&ratetype=$2
RewriteRule ^downloads.html downloads.html
RewriteRule ^downloads-gfx-([0-9]*).html modules.php?name=Downloads&op=gfx&random_num=$1

# -------------------------------------------



HELP!!!!!! Smile
 
View user's profile Send private message Visit poster's website
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Fri Sep 30, 2005 1:46 pm Reply with quote

A typical link from your Read more looks like http://www.rubapanettoni.com/preview/article3.html.

However, your rewrite rule
RewriteRule ^article([1-9][0-9]*).* article.html$1
is placing the article number at the end, as in
http://www.rubapanettoni.com/preview/article.html3,
if I'm reading it correctly. Try this as your rewrite rule
RewriteRule ^article([0-9]*).html article$1.html
 
View user's profile Send private message
daltoniko







PostPosted: Fri Sep 30, 2005 2:33 pm Reply with quote

nein... the strange things is that before this mod work fine.
Must be a server problem?

maybe some htaccess in an other folder? I don't what I have to see...
I have try the htaccess and Im sure that work.

...
 
daltoniko







PostPosted: Fri Sep 30, 2005 6:11 pm Reply with quote

thx for your patience.

the problem was

RewriteBase /

i have the root site /preview
so:

RewriteBase /preview
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Post Installation Help

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©