phpBB-TweakS
 
Advanced Search
   
 
Home Downloads FAQ Register FAQ Memberlist Usergroups Ranks
 
 

Please help us to develop!

 
It appears you are using a browser that is not based on Internet Explorer, this means you are not viewing the web as good as you should be. Other browsers might try to immitate Internet Explorer, but none can parse the web as it should like Internet Explorer can. So view the web as it was meant to be with Avant Browser!
         

phpBB-TweakS Forum Index GSM Error after adding the htaccess code to htaccess
Display posts from previous:   
Half Thread Topic  Fully Thread Topic  Download Topic
      All times are GMT - 5 Hours  
Post new topic  Reply to topic

Sat Nov 12, 2005 6:58 am
Author Message
y0y0
Moderate TweakeR
Moderate TweakeR


Joined: 07 May 2005
Posts: 54
Words Posted: 2,563
Average Post: 47.46


Post subject: Error after adding the htaccess code to htaccess Reply with quote

Hello,

this MOD sounds very great like always of your mods austin, but there is a problem:

I have copied the files to root, and if I add the htaccess code to htaccess, I can't view a page of my forum, because I get an error

Well, the htaccess looks like this now:



Code:
ErrorDocument 500 /forums.html
ErrorDocument 404 /forums.html
ErrorDocument 404 /forums.html
ErrorDocument 402 /fourms.html
Options +FollowSymLinks
RewriteEngine On
RewriteRule ^sitemap_index.xml sitemap_index.php [NC]
RewriteRule ^sitemap_forums.xml sitemap_forums.php [NC]
RewriteRule ^sitemap_topics.xml sitemap_topics.php [NC]
RewriteRule ^sitemap_posts.xml sitemap_posts.php [NC]

RewriteCond %{REQUEST_FILENAME} forums.html
RewriteRule (.*) /index.php [L]

RewriteCond %{REQUEST_FILENAME} viewforum([0-9]*)-([0-9]*)-([0-9]*).html
RewriteRule (.*) /viewforum.php?f=%1&topicdays=%2&start=%3 [L]

RewriteCond %{REQUEST_FILENAME} forum([0-9]*).html
RewriteRule (.*) /viewforum.php?f=%1 [L]

RewriteCond %{REQUEST_FILENAME} ptopic([0-9]*).html
RewriteRule (.*) /viewtopic.php?t=%1&view=previous [L]

RewriteCond %{REQUEST_FILENAME} ntopic([0-9]*).html
RewriteRule (.*) /viewtopic.php?t=%1&view=next [L]

RewriteCond %{REQUEST_FILENAME} ftopic([0-9]*)-([0-9]*)-([a-zA-Z]*)-([0-9]*).html
RewriteRule (.*) /viewtopic.php?t=%1&postdays=%2&postorder=%3&start=%4 [L]

RewriteCond %{REQUEST_FILENAME} ftopic([0-9]*)-([0-9]*).html
RewriteRule (.*) /viewtopic.php?t=%1&start=%2 [L]

RewriteCond %{REQUEST_FILENAME} ftopic([0-9]*).html
RewriteRule (.*) /viewtopic.php?t=%1 [L]

RewriteCond %{REQUEST_FILENAME} ftopic([0-9]*).html
RewriteRule (.*) /viewtopic.php?t=%1&start=%2&postdays=%3&postorder=%4&highlight=%5 [L]
#Forums
   RewriteRule ^forum-([0-9]*)-([0-9]*)-([0-9]*).* index.php?f=$1&ppage=$2&sort=lastpost&order=DESC&start=$3
   RewriteRule ^forum-([0-9]*)-([0-9]*).* index.php?f=$1&ppage=$2&sort=lastpost&order=DESC
   RewriteRule ^mforum-([0-9]*).* index.php?f=$1&mark=topics
   RewriteRule ^mforums.* index.php?mark=forums
   RewriteRule ^forum-([0-9]*).* index.php?f=$1
   RewriteRule ^forums.* index.php
   RewriteRule ^admin/forums.* admin/index.php
#Topics
    RewriteRule ^topic-([0-9]*)-([0-9]*)-([0-9]*).* viewtopic.php\?t=$1&postdays=$2&postorder=asc&start=$3
    RewriteRule ^poll-([0-9]*)-([0-9]*).* viewtopic.php\?t=$1&postdays=$2&postorder=asc&vote=viewresult
   RewriteRule ^wtopic-([0-9]*).* viewtopic.php?t=$1&watch=topic&postorder=asc
   RewriteRule ^utopic-([0-9]*).* viewtopic.php?t=$1&unwatch=topic&postorder=asc
   RewriteRule ^topic-([0-9]*)-([0-9]*).* viewtopic.php?t=$1&start=$2
   RewriteRule ^uttopic([0-9]*).* viewtopic.php?t=$1&unmark=topic
   RewriteRule ^uptopic([0-9]*).* viewtopic.php?p=$1&unmark=post
   RewriteRule ^newtopic([0-9]*).* viewtopic.php?t=$1&view=newest
   RewriteRule ^ptopic-([0-9]*).* viewtopic.php?t=$1&view=previous
   RewriteRule ^ntopic-([0-9]*).* viewtopic.php?t=$1&view=next
   RewriteRule ^post-([0-9]*).* viewtopic.php?p=$1
   RewriteRule ^topic-([0-9]*).* viewtopic.php?t=$1


and I get then this error:

Quote:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@server.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Apache/1.3.26 Server at www.server.com Port 80


And I don't want to remove the other htaccess codes, because I need them for short urls

thanks in advance austin
Post #1
      Back To Top  

Sat Nov 12, 2005 7:49 am
Author Message
aUsTiN
Webmaster
Webmaster


Usa Georgia

Joined: 05 Jan 2005
Posts: 3684
Words Posted: 144,671
Average Post: 39.27

Location: USA

Post subject: Reply with quote

Try putting the sitemap codes @ the bottom of the file instead
Post #2
      Back To Top  

Sat Nov 12, 2005 8:43 am
Author Message
y0y0
Moderate TweakeR
Moderate TweakeR


Joined: 07 May 2005
Posts: 54
Words Posted: 2,563
Average Post: 47.46


Post subject: Reply with quote

aUsTiN wrote:
Try putting the sitemap codes @ the bottom of the file instead


I did, and still get this error Sad
Post #3
      Back To Top  

 
         

Post new topic  Reply to topic

phpBB-TweakS Forum Index GSM Error after adding the htaccess code to htaccess
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


      Back To Top  

Page 1 of 1
Jump to:  
 
Protected by phpBB Security © phpBB-TweakS
phpBB Security Has Blocked 3,237 Exploit Attempts.

· Archive · Sitemap: Index · Sitemap: Forums · Sitemap: Topics · Sitemap: Posts ·

:: [ Load Time: 3 Seconds ] :: [ 29 Queries ] :: [ 458 Page(s) Viewed Today ] ::
:: [ Todays Queries: 13,537 ] :: [ Highest Load: 1,396,429 Queries On May. 08, 2007 ] ::
:: [ SQL Load: 62% Time: 1.9 ] :: [ PHP Load: 38% Time: 1.1 ] :: [ Debug: On ] :: [ GZIP: Enabled ] ::
:: The server last rebooted 80 days, 15 hours, 37 minutes, 59 seconds ago. ::

The phpBB[Network]!
       
Powered by phpBB 2.0.* © 2001, 2002 phpBB Group
Avalanche style by What Is Real © 2004