You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 130 guest(s) and 0 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - Big problem after google tab install [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
cletlamasse
Nuke Cadet
Nuke Cadet


Joined: Aug 20, 2003
Posts: 4


PostPosted: Wed Aug 20, 2003 1:05 pm Reply with quoteBack to top

Hi all,

I try to install the google tab on my website, but i have actually a very big problem, because my site is down. Embarassed

I have this error in my home page :

Code:
if (eregi("header.php",$PHP_SELF)) { Header("Location: index.php"); die(); } ob_start(); function replace_for_mod_rewrite(&$s) { $urlin = array( "'(? Fatal error: Call to undefined function: themeindex() in /home/planetdi/www/modules/News/index.php on line 134


I have just substitut my helder, footer, and .htaccess files by the google tab files !

Please, could you help ŕ french nuker Laughing, inspite of his bad english...
Find all posts by cletlamasseView user's profileSend private message
Zhen-Xjell
Nuke Cops Founder
Nuke Cops Founder


Joined: Nov 14, 2002
Posts: 5939


PostPosted: Wed Aug 20, 2003 1:14 pm Reply with quoteBack to top

Hi'ya which version of phpnuke do you have? You used which GT files? CVS or non-CVS?

_________________
Paul Laudanski, Microsoft MVP Windows-Security
CastleCops: [de] [en] [wiki]
Find all posts by Zhen-XjellView user's profileSend private messageSend e-mailVisit poster's website
cletlamasse
Nuke Cadet
Nuke Cadet


Joined: Aug 20, 2003
Posts: 4


PostPosted: Wed Aug 20, 2003 1:19 pm Reply with quoteBack to top

thinks for your answer Zhen-Xjell Very Happy ,

Version of phpnuke : 6.7.1
version of google tab : beta 0.6.5

For the CVS, i have no idea, sorry for that, what does it mean ?
Find all posts by cletlamasseView user's profileSend private message
Zhen-Xjell
Nuke Cops Founder
Nuke Cops Founder


Joined: Nov 14, 2002
Posts: 5939


PostPosted: Wed Aug 20, 2003 1:20 pm Reply with quoteBack to top

Hi'ya, 6.7 doesn't have any dot versions. Try grabbing the files from http://cvs.nukecops.com for GoogleTap. I hope you did save your originals right?

_________________
Paul Laudanski, Microsoft MVP Windows-Security
CastleCops: [de] [en] [wiki]
Find all posts by Zhen-XjellView user's profileSend private messageSend e-mailVisit poster's website
cletlamasse
Nuke Cadet
Nuke Cadet


Joined: Aug 20, 2003
Posts: 4


PostPosted: Wed Aug 20, 2003 1:26 pm Reply with quoteBack to top

Have i just to change my header, footer and .htaccess by the cvs files or

it's necessary to re upload my website before change this 3 files.

Thinks
Find all posts by cletlamasseView user's profileSend private message
Zhen-Xjell
Nuke Cops Founder
Nuke Cops Founder


Joined: Nov 14, 2002
Posts: 5939


PostPosted: Wed Aug 20, 2003 1:32 pm Reply with quoteBack to top

No not at all... you can just try out those three files from the cvs. Try it and let me know.

_________________
Paul Laudanski, Microsoft MVP Windows-Security
CastleCops: [de] [en] [wiki]
Find all posts by Zhen-XjellView user's profileSend private messageSend e-mailVisit poster's website
cletlamasse
Nuke Cadet
Nuke Cadet


Joined: Aug 20, 2003
Posts: 4


PostPosted: Wed Aug 20, 2003 2:25 pm Reply with quoteBack to top

EXCELLENT !!!!!

It work !!!!!!!!!

I've just did what you said and replace the originals files by the CVS's.
All my news are rename in .html, like all messages of my forum...just my content pages are not translate in .html, but doesn't matter, my site work...

Thinks very much Zhen-Xjell for your time and your help...

See ya Very Happy
Find all posts by cletlamasseView user's profileSend private message
Zhen-Xjell
Nuke Cops Founder
Nuke Cops Founder


Joined: Nov 14, 2002
Posts: 5939


PostPosted: Wed Aug 20, 2003 2:27 pm Reply with quoteBack to top

np Smile

_________________
Paul Laudanski, Microsoft MVP Windows-Security
CastleCops: [de] [en] [wiki]
Find all posts by Zhen-XjellView user's profileSend private messageSend e-mailVisit poster's website
checksum
Sergeant
Sergeant


Joined: Apr 30, 2003
Posts: 122


PostPosted: Tue Sep 02, 2003 4:21 pm Reply with quoteBack to top

Hi Zhen,
I just installed GT ver 0.6.5 and did all the changes to the files. But my problem is that everytime I tranfer the file .htaccess to my server, it disappears.
Any ideas?
Find all posts by checksumView user's profileSend private message
checksum
Sergeant
Sergeant


Joined: Apr 30, 2003
Posts: 122


PostPosted: Tue Sep 02, 2003 4:29 pm Reply with quoteBack to top

Never mind , I dont see the files when I use WSFTP PRO, but when I use the browser to access my folder in my server i can see the file.

My problem is that the links have an html ending, but nothing is displayed, i get 404 error page not found
Find all posts by checksumView user's profileSend private message
checksum
Sergeant
Sergeant


Joined: Apr 30, 2003
Posts: 122


PostPosted: Wed Sep 03, 2003 12:19 am Reply with quoteBack to top

Can anybody help me.
The forum link under the main menu does not have the forum.html tag instead it says modules.php?name=Forums.


here are my .htaccess and header.php files. I got them from CVS

Quote:
# $Author: zx $
# $Date: 2003/08/17 13:42:56 $

# deny most common except .php
<FilesMatch "\.(inc|tpl|h|ihtml|sql|ini|conf|class|bin|spd|theme|module)$">
deny from all
</FilesMatch>

<Limit GET PUT POST>
Order Allow,Deny
Allow from all
</Limit>

RewriteEngine on

#The next lines check for Email Spammers Robots and redirect them to a fake page
RewriteCond %{HTTP_USER_AGENT} ^Alexibot [OR]
RewriteCond %{HTTP_USER_AGENT} ^asterias [OR]
RewriteCond %{HTTP_USER_AGENT} ^BackDoorBot [OR]
RewriteCond %{HTTP_USER_AGENT} ^Black.Hole [OR]
RewriteCond %{HTTP_USER_AGENT} ^BlackWidow [OR]
RewriteCond %{HTTP_USER_AGENT} ^BlowFish [OR]
RewriteCond %{HTTP_USER_AGENT} ^BotALot [OR]
RewriteCond %{HTTP_USER_AGENT} ^BuiltBotTough [OR]
RewriteCond %{HTTP_USER_AGENT} ^Bullseye [OR]
RewriteCond %{HTTP_USER_AGENT} ^BunnySlippers [OR]
RewriteCond %{HTTP_USER_AGENT} ^Cegbfeieh [OR]
RewriteCond %{HTTP_USER_AGENT} ^CheeseBot [OR]
RewriteCond %{HTTP_USER_AGENT} ^CherryPicker [OR]
RewriteCond %{HTTP_USER_AGENT} ^ChinaClaw [OR]
RewriteCond %{HTTP_USER_AGENT} ^CopyRightCheck [OR]
RewriteCond %{HTTP_USER_AGENT} ^cosmos [OR]
RewriteCond %{HTTP_USER_AGENT} ^Crescent [OR]
RewriteCond %{HTTP_USER_AGENT} ^Custo [OR]
RewriteCond %{HTTP_USER_AGENT} ^DISCo [OR]
RewriteCond %{HTTP_USER_AGENT} ^DittoSpyder [OR]
RewriteCond %{HTTP_USER_AGENT} ^Download\ Demon [OR]
RewriteCond %{HTTP_USER_AGENT} ^eCatch [OR]
RewriteCond %{HTTP_USER_AGENT} ^EirGrabber [OR]
RewriteCond %{HTTP_USER_AGENT} ^EmailCollector [OR]
RewriteCond %{HTTP_USER_AGENT} ^EmailSiphon [OR]
RewriteCond %{HTTP_USER_AGENT} ^EmailWolf [OR]
RewriteCond %{HTTP_USER_AGENT} ^EroCrawler [OR]
RewriteCond %{HTTP_USER_AGENT} ^Express\ WebPictures [OR]
RewriteCond %{HTTP_USER_AGENT} ^ExtractorPro [OR]
RewriteCond %{HTTP_USER_AGENT} ^EyeNetIE [OR]
RewriteCond %{HTTP_USER_AGENT} ^FlashGet [OR]
RewriteCond %{HTTP_USER_AGENT} ^Foobot [OR]
RewriteCond %{HTTP_USER_AGENT} ^FrontPage [NC,OR]
RewriteCond %{HTTP_USER_AGENT} ^GetRight [OR]
RewriteCond %{HTTP_USER_AGENT} ^GetWeb! [OR]
RewriteCond %{HTTP_USER_AGENT} ^Go-Ahead-Got-It [OR]
RewriteCond %{HTTP_USER_AGENT} ^Googlebot-Image [OR]
RewriteCond %{HTTP_USER_AGENT} ^Go!Zilla [OR]
RewriteCond %{HTTP_USER_AGENT} ^GrabNet [OR]
RewriteCond %{HTTP_USER_AGENT} ^Grafula [OR]
RewriteCond %{HTTP_USER_AGENT} ^Harvest [OR]
RewriteCond %{HTTP_USER_AGENT} ^hloader [OR]
RewriteCond %{HTTP_USER_AGENT} ^HMView [OR]
RewriteCond %{HTTP_USER_AGENT} ^httplib [OR]
RewriteCond %{HTTP_USER_AGENT} ^HTTrack [NC,OR]
RewriteCond %{HTTP_USER_AGENT} ^humanlinks [OR]
RewriteCond %{HTTP_USER_AGENT} ^ia_archiver [OR]
RewriteCond %{HTTP_USER_AGENT} ^Image\ Stripper [OR]
RewriteCond %{HTTP_USER_AGENT} ^Image\ Sucker [OR]
RewriteCond %{HTTP_USER_AGENT} ^Indy\ Library [NC,OR]
RewriteCond %{HTTP_USER_AGENT} ^InfoNaviRobot [OR]
RewriteCond %{HTTP_USER_AGENT} ^InterGET [OR]
RewriteCond %{HTTP_USER_AGENT} ^Internet\ Ninja [OR]
RewriteCond %{HTTP_USER_AGENT} ^JennyBot [OR]
RewriteCond %{HTTP_USER_AGENT} ^JetCar [OR]
RewriteCond %{HTTP_USER_AGENT} ^JOC\ Web\ Spider [OR]
RewriteCond %{HTTP_USER_AGENT} ^Kenjin.Spider [OR]
RewriteCond %{HTTP_USER_AGENT} ^Keyword.Density [OR]
RewriteCond %{HTTP_USER_AGENT} ^larbin [OR]
RewriteCond %{HTTP_USER_AGENT} ^LeechFTP [OR]
RewriteCond %{HTTP_USER_AGENT} ^LexiBot [OR]
RewriteCond %{HTTP_USER_AGENT} ^libWeb/clsHTTP [OR]
RewriteCond %{HTTP_USER_AGENT} ^LinkextractorPro [OR]
RewriteCond %{HTTP_USER_AGENT} ^LinkScan/8.1a.Unix [OR]
RewriteCond %{HTTP_USER_AGENT} ^LinkWalker [OR]
RewriteCond %{HTTP_USER_AGENT} ^lwp-trivial [OR]
RewriteCond %{HTTP_USER_AGENT} ^Mass\ Downloader [OR]
RewriteCond %{HTTP_USER_AGENT} ^Mata.Hari [OR]
RewriteCond %{HTTP_USER_AGENT} ^Microsoft.URL [OR]
RewriteCond %{HTTP_USER_AGENT} ^MIDown\ tool [OR]
RewriteCond %{HTTP_USER_AGENT} ^MIIxpc [OR]
RewriteCond %{HTTP_USER_AGENT} ^Mister.PiX [OR]
RewriteCond %{HTTP_USER_AGENT} ^Mister\ PiX [OR]
RewriteCond %{HTTP_USER_AGENT} ^moget [OR]
RewriteCond %{HTTP_USER_AGENT} ^Mozilla/2 [OR]
RewriteCond %{HTTP_USER_AGENT} ^Mozilla/3.Mozilla/2.01 [OR]
RewriteCond %{HTTP_USER_AGENT} ^Mozilla.*NEWT [OR]
RewriteCond %{HTTP_USER_AGENT} ^Navroad [OR]
RewriteCond %{HTTP_USER_AGENT} ^NearSite [OR]
RewriteCond %{HTTP_USER_AGENT} ^NetAnts [OR]
RewriteCond %{HTTP_USER_AGENT} ^NetMechanic [OR]
RewriteCond %{HTTP_USER_AGENT} ^NetSpider [OR]
RewriteCond %{HTTP_USER_AGENT} ^Net\ Vampire [OR]
RewriteCond %{HTTP_USER_AGENT} ^NetZIP [OR]
RewriteCond %{HTTP_USER_AGENT} ^NICErsPRO [OR]
RewriteCond %{HTTP_USER_AGENT} ^NPBot [OR]
RewriteCond %{HTTP_USER_AGENT} ^Octopus [OR]
RewriteCond %{HTTP_USER_AGENT} ^Offline.Explorer [OR]
RewriteCond %{HTTP_USER_AGENT} ^Offline\ Explorer [OR]
RewriteCond %{HTTP_USER_AGENT} ^Offline\ Navigator [OR]
RewriteCond %{HTTP_USER_AGENT} ^Openfind [OR]
RewriteCond %{HTTP_USER_AGENT} ^PageGrabber [OR]
RewriteCond %{HTTP_USER_AGENT} ^Papa\ Foto [OR]
RewriteCond %{HTTP_USER_AGENT} ^pavuk [OR]
RewriteCond %{HTTP_USER_AGENT} ^pcBrowser [OR]
RewriteCond %{HTTP_USER_AGENT} ^ProPowerBot/2.14 [OR]
RewriteCond %{HTTP_USER_AGENT} ^ProWebWalker [OR]
RewriteCond %{HTTP_USER_AGENT} ^ProWebWalker [OR]
RewriteCond %{HTTP_USER_AGENT} ^QueryN.Metasearch [OR]
RewriteCond %{HTTP_USER_AGENT} ^ReGet [OR]
RewriteCond %{HTTP_USER_AGENT} ^RepoMonkey [OR]
RewriteCond %{HTTP_USER_AGENT} ^RMA [OR]
RewriteCond %{HTTP_USER_AGENT} ^SiteSnagger [OR]
RewriteCond %{HTTP_USER_AGENT} ^SlySearch [OR]
RewriteCond %{HTTP_USER_AGENT} ^SmartDownload [OR]
RewriteCond %{HTTP_USER_AGENT} ^SpankBot [OR]
RewriteCond %{HTTP_USER_AGENT} ^spanner [OR]
RewriteCond %{HTTP_USER_AGENT} ^SuperBot [OR]
RewriteCond %{HTTP_USER_AGENT} ^SuperHTTP [OR]
RewriteCond %{HTTP_USER_AGENT} ^Surfbot [OR]
RewriteCond %{HTTP_USER_AGENT} ^suzuran [OR]
RewriteCond %{HTTP_USER_AGENT} ^Szukacz/1.4 [OR]
RewriteCond %{HTTP_USER_AGENT} ^tAkeOut [OR]
RewriteCond %{HTTP_USER_AGENT} ^Teleport [OR]
RewriteCond %{HTTP_USER_AGENT} ^Teleport\ Pro [OR]
RewriteCond %{HTTP_USER_AGENT} ^Telesoft [OR]
RewriteCond %{HTTP_USER_AGENT} ^The.Intraformant [OR]
RewriteCond %{HTTP_USER_AGENT} ^TheNomad [OR]
RewriteCond %{HTTP_USER_AGENT} ^TightTwatBot [OR]
RewriteCond %{HTTP_USER_AGENT} ^Titan [OR]
RewriteCond %{HTTP_USER_AGENT} ^toCrawl/UrlDispatcher [OR]
RewriteCond %{HTTP_USER_AGENT} ^toCrawl/UrlDispatcher [OR]
RewriteCond %{HTTP_USER_AGENT} ^True_Robot [OR]
RewriteCond %{HTTP_USER_AGENT} ^turingos [OR]
RewriteCond %{HTTP_USER_AGENT} ^TurnitinBot/1.5 [OR]
RewriteCond %{HTTP_USER_AGENT} ^URLy.Warning [OR]
RewriteCond %{HTTP_USER_AGENT} ^VCI [OR]
RewriteCond %{HTTP_USER_AGENT} ^VoidEYE [OR]
RewriteCond %{HTTP_USER_AGENT} ^WebAuto [OR]
RewriteCond %{HTTP_USER_AGENT} ^WebBandit [OR]
RewriteCond %{HTTP_USER_AGENT} ^WebCopier [OR]
RewriteCond %{HTTP_USER_AGENT} ^WebEMailExtrac.* [OR]
RewriteCond %{HTTP_USER_AGENT} ^WebEnhancer [OR]
RewriteCond %{HTTP_USER_AGENT} ^WebFetch [OR]
RewriteCond %{HTTP_USER_AGENT} ^WebGo\ IS [OR]
RewriteCond %{HTTP_USER_AGENT} ^Web.Image.Collector [OR]
RewriteCond %{HTTP_USER_AGENT} ^Web\ Image\ Collector [OR]
RewriteCond %{HTTP_USER_AGENT} ^WebLeacher [OR]
RewriteCond %{HTTP_USER_AGENT} ^WebmasterWorldForumBot [OR]
RewriteCond %{HTTP_USER_AGENT} ^WebReaper [OR]
RewriteCond %{HTTP_USER_AGENT} ^WebSauger [OR]
RewriteCond %{HTTP_USER_AGENT} ^Website\ eXtractor [OR]
RewriteCond %{HTTP_USER_AGENT} ^Website.Quester [OR]
RewriteCond %{HTTP_USER_AGENT} ^Website\ Quester [OR]
RewriteCond %{HTTP_USER_AGENT} ^Webster.Pro [OR]
RewriteCond %{HTTP_USER_AGENT} ^WebStripper [OR]
RewriteCond %{HTTP_USER_AGENT} ^Web\ Sucker [OR]
RewriteCond %{HTTP_USER_AGENT} ^WebWhacker [OR]
RewriteCond %{HTTP_USER_AGENT} ^WebZip [OR]
RewriteCond %{HTTP_USER_AGENT} ^Wget [OR]
RewriteCond %{HTTP_USER_AGENT} ^Widow [OR]
RewriteCond %{HTTP_USER_AGENT} ^[Ww]eb[Bb]andit [OR]
RewriteCond %{HTTP_USER_AGENT} ^WWW-Collector-E [OR]
RewriteCond %{HTTP_USER_AGENT} ^WWWOFFLE [OR]
RewriteCond %{HTTP_USER_AGENT} ^Xaldon\ WebSpider [OR]
RewriteCond %{HTTP_USER_AGENT} ^Xenu's [OR]
RewriteCond %{HTTP_USER_AGENT} ^Zeus
RewriteRule ^.*$ emailsforyou.php [L]

#RewriteCond %{HTTP_USER_AGENT} ^-?$
#RewriteRule ^.*$ /www/assadniang/noID.php [L]

RewriteRule /index.html /index.php

#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

#Content
RewriteRule ^contentid-([1-9][0-9]*).html contentid-.html$1
RewriteRule ^content-cat-([1-9][0-9]*).html content-cat-.html$1

#FAQ
RewriteRule ^faq.html faq.html
RewriteRule ^faq-([0-9]*)-([a-zA-Z0-9+]*).html faq.html&myfaq=yes&id_cat=$1&categories=$2

#Forums
RewriteRule ^forums.html modules.php?name=Forums
RewriteRule ^forums.* modules.php?name=Forums&file=index
RewriteRule ^forum-cat([0-9]*).html modules.php?name=Forums&c=$1
RewriteRule ^postpoll([0-9]*).html modules.php?name=Forums&file=posting&t=$1
RewriteRule ^forumx([0-9]+)-([0-9]+)-([0-9]+).html modules.php?name=Forums&file=viewforum&f=$1&topicdays=$2&start=$3
RewriteRule ^postlite([0-9]*)-([[:punct:]/:\-\'(){}.&=_a-zA-Z0-9\ ]*).html modules.php?name=Forums&file=viewtopic&t=$1&highlight=$2
RewriteRule ^forum([1-9][0-9]*).* modules.php?name=Forums&file=viewforum&f=$1
RewriteRule ^posts([0-9]*)-([0-9]*).html modules.php?name=Forums&file=viewtopic&t=$1&start=$2
RewriteRule ^postx([0-9]+)-([0-9]+)-([0-9]+).html modules.php?name=Forums&file=viewtopic&t=$1&postdays=$2&postorder=asc&start=$3
RewriteRule ^post(p|t)([1-9][0-9]*).* modules.php?name=Forums&file=viewtopic&$1=$2
RewriteRule ^markread([0-9]*).html modules.php?name=Forums&file=viewforum&f=$1&mark=topics
RewriteRule ^newposts([0-9]*).html modules.php?name=Forums&file=viewtopic&t=$1&view=newest
RewriteRule ^fvote([0-9]*).html modules.php?name=Forums&file=posting&mode=vote&t=$1


#Downloads
RewriteRule ^downloads.html modules.php?name=Downloads
RewriteRule ^downloads-cat-([0-9]*).html&orderby=([a-zA-Z_]*) modules.php?name=Downloads&d_op=viewdownload&cid=$1&orderby=$2
RewriteRule ^downloads-cats-([0-9]*)-([0-9]*)-([0-9]*).html modules.php?name=Downloads&d_op=viewdownload&cid=$1&min=$2&orderby=titleA&show=$3
RewriteRule ^downloads-cat-([0-9]*).html modules.php?name=Downloads&d_op=viewdownload&cid=$1
RewriteRule ^downloads-file-([0-9]*)-details-([[:punct:]/:\-\'{}()._&a-zA-Z0-9+=]*).html modules.php?name=Downloads&d_op=viewdownloaddetails&lid=$1&ttitle=$2
RewriteRule ^downloads-file-([0-9]*).html modules.php?name=Downloads&d_op=getit&lid=$1

#Stories Archive
RewriteRule ^archive.html archive.html
RewriteRule ^archive-([0-9]*)-([0-9]*)-([a-zA-Z]*).* archive.html&sa=show_month&year=$1&month=$2&month_l=$3

#Reviews
RewriteRule ^reviews.html reviews.html
RewriteRule ^reviews-([0-9]*).html reviews.html&rop=showcontent&id=$1
RewriteRule ^reviews-new.html reviews.html&rop=write_review
RewriteRule ^reviews-sortby-([a-zA-Z0-9]*).html reviews.html&rop=$1
RewriteRule ^reviews-comment-([0-9]*)-([[:punct:]a-zA-Z0-9]*).* reviews.html&rop=postcomment&id=$1&title=$2
RewriteRule ^reviews-([0-9]*)-delete.html reviews.html&rop=del_review&id_del=$1
RewriteRule ^reviews-([0-9]*)-edit.html reviews.html&rop=mod_review&id=$1

#Sections
RewriteRule ^section-(printpage|viewarticle)-([0-9]*).html sections.html&op=$1&artid=$2
RewriteRule ^section-([0-9]*).html sections.html&op=listarticles&secid=$1
RewriteRule ^sections.html sections.html


#Surveys
RewriteRule ^surveys.html modules.php?name=Surveys
RewriteRule ^survey([a-zA-Z0-9]*)results.html modules.php?name=Surveys&op=results&pollID=$1
RewriteRule ^survey([a-zA-Z0-9]*).html modules.php?name=Surveys&pollID=$1

#Submit
RewriteRule ^submit.html submit.html

#Search
#RewriteRule ^search.html modules.php?name=Search

#Top10
RewriteRule ^top-([[:print:]]*).html top.html&zx=$1
RewriteRule ^top.html top.html

#Topics
RewriteRule ^topics.html topics.html

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

#WebLinks
RewriteRule ^linksnew-([0-9]+).html modules.php?op=modload&name=Web_Links&file=index&l_op=NewLinksDate&selectdate=$1
RewriteRule ^linkop-(AddLink|MostPopular|NewLinks|RandomLink|TopRated).html modules.php?op=modload&name=Web_Links&file=index&l_op=$1
RewriteRule ^ratelink-([0-9]*)-([[:punct:]/:\-\'(){}.&=_a-zA-Z0-9\ ]*).html modules.php?op=modload&name=Web_Links&file=index&l_op=ratelink&lid=$1&ttitle=$2
RewriteRule ^viewlink-([0-9]*).html links.html&l_op=visit&lid=$1
RewriteRule ^links-([0-9]*)-([0-9]*)-([0-9]*).html links.html&file=index&l_op=viewlink&cid=$1&min=$2&orderby=titleA&show=$3
RewriteRule ^link-([0-9]*).html links.html&l_op=viewlink&cid=$1
RewriteRule ^links.html links.html

# $Log: .htaccess,v $
# Revision 1.7 2003/08/17 13:42:56 zx
# Added additional forums GT code
#
# Revision 1.6 2003/07/14 17:12:38 zx
# CVS Keyword Substition Test Success. Will place $Log: .htaccess,v $
# CVS Keyword Substition Test Success. Will place Revision 1.7 2003/08/17 13:42:56 zx
# CVS Keyword Substition Test Success. Will place Added additional forums GT code
# CVS Keyword Substition Test Success. Will place at the end of pages, and $Author: zx $, $Date: 2003/08/17 13:42:56 $ at the top.
#

Quote:
<?php

/************************************************************************/
/* PHP-NUKE: Web Portal System */
/* =========================== */
/* PHP-Nuke 6.0 */
/* http://www.nukedownload.com */
/* PHP-Nuke 6.5 */
/* http://www.yoohoo.lu */
/* */
/* This program is free software. You can redistribute it and/or modify */
/* it under the terms of the GNU General Public License as published by */
/* the Free Software Foundation; either version 2 of the License. */
/************************************************************************/

if (eregi("header.php",$_SERVER['PHP_SELF'])) {
Header("Location: index.php");
die();
}

ob_start();

function replace_for_mod_rewrite(&$s) {
$urlin = array(
"'(?<!/)modules.php\?name=News&amp;file=article&amp;sid=([0-9]*)&amp;mode=([a-z]*)&amp;order=([0-9]*)&amp;thold=([0-9]*)'",
"'(?<!/)modules.php\?name=News&amp;file=article&amp;sid=([0-9]*)'",
"'(?<!/)modules.php\?name=News&file=article&sid=([0-9]*)'",
"'(?<!/)modules.php\?name=News&amp;new_topic=([0-9]*)'",
"'(?<!/)modules.php\?name=Stories_Archive&sa=show_month&year=([0-9]*)&month=([0-9]*)&month_l=([a-zA-Z]*)'",
"'(?<!/)modules.php\?name=Stories_Archive'",
"'(?<!/)modules.php\?name=Downloads&d_op=getit&amp;lid=([0-9]*)'",
"'(?<!/)modules.php\?name=Downloads&d_op=viewdownload&amp;cid=([0-9]*)&amp;min=([0-9]*)&amp;orderby=titleA&amp;show=([0-9]*)'",
"'(?<!/)modules.php\?name=Downloads&d_op=viewdownload&amp;cid=([0-9]*)'",
"'(?<!/)modules.php\?name=Downloads&d_op=viewdownloaddetails&amp;lid=([0-9]*)&amp;ttitle=([/:\-\'{}()._&a-zA-Z0-9+= ]*)'",
"'(?<!/)modules.php\?name=(Downloads\")'",
"'(?<!/)modules.php\?name=Reviews&rop=showcontent&amp;id=([0-9]*)'",
"'(?<!/)modules.php\?name=Reviews&rop=write_review'",
"'(?<!/)modules.php\?name=Reviews&rop=postcomment&amp;id=([0-9]*)&amp;title=([a-zA-Z0-9+]*)'",
"'(?<!/)modules.php\?name=Reviews&rop=mod_review&amp;id=([0-9]*)'",
"'(?<!/)modules.php\?name=Reviews&rop=del_review&amp;id_del=([0-9]*)'",
"'(?<!/)modules.php\?name=Reviews&rop=([a-zA-Z0-9]*)'",
"'(?<!/)modules.php\?name=Reviews'",
"'(?<!/)modules.php\?name=Submit_News'",
"'(?<!/)modules.php\?name=Topics'",
"'(?<!/)modules.php\?name=Top&zx=([a-zA-Z0-9+]*)'",
"'(?<!/)modules.php\?name=Top'",
"'(?<!/)modules.php\?name=FAQ&amp;myfaq=yes&amp;id_cat=([0-9]*)&amp;categories=([a-zA-Z0-9+]*)'",
"'(?<!/)modules.php\?name=FAQ'",
"'(?<!/)modules.php\?name=Forums&file=viewtopic&t=([0-9]+)&amp;postdays=([0-9]+)&amp;postorder=asc&amp;start=([0-9]+)'",
"'(?<!/)modules.php\?name=Forums&file=viewforum&f=([0-9]+)&amp;topicdays=([0-9]+)&amp;start=([0-9]+)'",
"'(?<!/)modules.php\?name=Content&amp;pa=showpage&amp;pid=([0-9]*)'",
"'(?<!/)modules.php\?name=Content&amp;pa=list_pages_categories&amp;cid=([0-9]*)'",
"'(?<!/)modules.php\?name=Forums&file=viewforum&f=([0-9]*)&amp;mark=topics'",
"'(?<!/)modules.php\?name=Forums&file=viewforum&f=([0-9]*)'",
"'(?<!/)modules.php\?name=Forums&file=viewtopic&t=([0-9]*)&amp;view=newest'",
"'(?<!/)modules.php\?name=Forums&file=viewtopic&t=([0-9]*)&amp;start=([0-9]*)'",
"'(?<!/)modules.php\?name=Forums&file=viewtopic&t=([0-9]*)&amp;highlight=([/:\-\'(){}.&=_a-zA-Z0-9+[:space:]]*)'",
"'(?<!/)modules.php\?name=Forums&file=posting&t=([0-9]*)'",
"'(?<!/)modules.php\?name=Forums&file=viewtopic&(p|t)=([0-9]*)'",
"'(?<!/)modules.php\?name=Forums&file=index&c=([0-9]*)'",
"'(?<!/)modules.php\?name=Forums&file=index'",
"'(?<!/)modules.php\?name=Sections&op=(printpage|viewarticle)&artid=([0-9]*)'",
"'(?<!/)modules.php\?name=Sections&op=listarticles&secid=([0-9]*)'",
"'(?<!/)modules.php\?name=Sections'",
"'(?<!/)modules.php\?name=Your_Account&op=userinfo&username=([a-zA-Z0-9_-]*)'",
"'(?<!/)modules.php\?name=Your_Account&amp;op=userinfo&amp;username=([a-zA-Z0-9_-]*)'",
"'(?<!/)modules.php\?name=Web_Links&l_op=NewLinksDate&amp;selectdate=([0-9]+)'",
"'(?<!/)modules.php\?name=Web_Links&l_op=(AddLink|MostPopular|NewLinks|RandomLink|TopRated)'",
"'(?<!/)modules.php\?name=Web_Links&l_op=ratelink&amp;lid=([0-9]*)&amp;ttitle=([/:\-\'(){}.&=_a-zA-Z0-9 ]*)'",
"'(?<!/)modules.php\?name=Web_Links&l_op=visit&amp;lid=([0-9]*)'",
"'(?<!/)modules.php\?name=Web_Links&l_op=viewlink&amp;cid=([0-9]*)&amp;min=([0-9]*)&amp;orderby=titleA&amp;show=([0-9]*)'",
"'(?<!/)modules.php\?name=Web_Links&l_op=viewlink&amp;cid=([0-9]*)'",
"'(?<!/)modules.php\?name=Web_Links'"
);

$urlout = array(
"article-\\1-\\2-\\3-\\4.html",
"article\\1.html",
"article\\1.html",
"article-topic-\\1.html",
"archive-\\1-\\2-\\3.html",
"archive.html",
"downloads-file-\\1.html",
"downloads-cats-\\1-\\2-\\3.html",
"downloads-cat-\\1.html",
"downloads-file-\\1-details-\\2.html",
"downloads.html\"",
"reviews-\\1.html",
"reviews-new.html",
"reviews-comment-\\1-\\2",
"reviews-\\1-edit.html",
"reviews-\\1-delete.html",
"reviews-sortby-\\1.html",
"reviews.html",
"submit.html",
"topics.html",
"top-\\1.html",
"top.html",
"faq-\\1-\\2.html",
"faq.html",
"postx\\1-\\2-\\3.html",
"forumx\\1-\\2-\\3.html",
"contentid-\\1.html",
"content-cat-\\1.html",
"markread\\1.html",
"forum\\1.html",
"newposts\\1.html",
"posts\\1-\\2.html",
"postlite\\1-\\2.html",
"fvote\\1.html",
"post\\1\\2.html",
"forum-cat\\1.html",
"forums.html",
"section-\\1-\\2.html",
"section-\\1.html",
"sections.html",
"userinfo-\\1.html",
"userinfo-\\1.html",
"linksnew-\\1.html",
"linkop-\\1.html",
"ratelink-\\1-\\2.html",
"viewlink-\\1.html",
"links-\\1-\\2-\\3.html",
"link-\\1.html",
"links.html"
);

$s = preg_replace($urlin, $urlout, $s);
return $s;
}



require_once("mainfile.php");

##################################################
# Include some common header for HTML generation #
##################################################

$header = 1;

function head() {
global $slogan, $sitename, $banners, $nukeurl, $Version_Num, $artpage, $topic, $hlpfile, $user, $hr, $theme, $cookie, $bgcolor1, $bgcolor2, $bgcolor3, $bgcolor4, $textcolor1, $textcolor2, $forumpage, $adminpage, $userpage, $pagetitle;
$ThemeSel = get_theme();
include("themes/$ThemeSel/theme.php");
echo "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">\n";
echo "<html>\n";
echo "<head>\n";
echo "<title>$sitename $pagetitle</title>\n";

include("includes/meta.php");
include("includes/javascript.php");
include("includes/wysiwyg.php");

WysiwygJscriptHeader();

if (file_exists("themes/$ThemeSel/images/favicon.ico")) {
echo "<link REL=\"shortcut icon\" HREF=\"themes/$ThemeSel/images/favicon.ico\" TYPE=\"image/x-icon\">\n";
}

echo "<LINK REL=\"StyleSheet\" HREF=\"themes/$ThemeSel/style/style.css\" TYPE=\"text/css\">\n\n\n";
include("includes/my_header.php");
echo "\n\n\n</head>\n\n";
themeheader();
}

online();
head();
include("includes/counter.php");
global $home;
if ($home == 1) {
message_box();
include("cblocks.php");
blocks(Center);
}

?>


Last edited by checksum on Sat Oct 04, 2003 4:01 am; edited 1 time in total
Find all posts by checksumView user's profileSend private message
Zhen-Xjell
Nuke Cops Founder
Nuke Cops Founder


Joined: Nov 14, 2002
Posts: 5939


PostPosted: Wed Sep 03, 2003 3:35 pm Reply with quoteBack to top

Hi'ya yes, that is ok. Google will index that correctly. Once we integrate this NC site into the CVS, we'll begin to fine tune those things.

_________________
Paul Laudanski, Microsoft MVP Windows-Security
CastleCops: [de] [en] [wiki]
Find all posts by Zhen-XjellView user's profileSend private messageSend e-mailVisit poster's website
parthurz
Nuke Cadet
Nuke Cadet


Joined: Sep 03, 2003
Posts: 4


PostPosted: Thu Sep 11, 2003 4:54 am Reply with quoteBack to top

I have the same problem as checksum.

The .htaccess file just disappears. The links point to html pages but they don't work (404).

I contacted the hosting company and they said that
Quote:
"The apache module mod_rewrite is not available on our servers"


I know nothing about Apache but am guessing that this may be the problem.

Is there a good reason why mod_rewrite should not be installed (eg software version, security...), or is my hosting comp just lazy.

Next qu of course is - is there a way to get around this (apart from moving to another host).
Find all posts by parthurzView user's profileSend private message
MrFluffy
Captain
Captain


Joined: Aug 06, 2003
Posts: 411

Location: Berlin

PostPosted: Wed Oct 08, 2003 1:39 am Reply with quoteBack to top

I just installed the 1.2 CVS-versions on a nuke 7a2...(on my WAMP testsystem).
I found elsewhere, that i had to modifiy apache config to access a windowslike htacc.ess (for windows doesn't allow ".htaccess" - so i changed that and renamed the htaccess.GT accordingly.
Now i can access my testsite quite normally, the only change is that i can no longer access forum topics (404).

eg
Quote:
http://localhost/forum1.html&sid=2e8d6145051bc10c55ec4ec7e1a81004


In fact all links converted to html give back 404s.
Any suggestions where to start picking? Wink

And, should it come to the point of moving the modified files to the online-server, what about the .htaccess-files already there? Do i simply merge them with the contents of the htaccess.GT? (you see i have no idea at all about what's going on with this rewrite engine... Embarassed )

_________________
cu, MrFluffy

conrads-berlin.de
nuke-platinum.de
Find all posts by MrFluffyView user's profileSend private messageVisit poster's websiteAIM AddressYahoo MessengerMSN MessengerICQ Number
Monnet
Nuke Soldier
Nuke Soldier


Joined: Jul 17, 2003
Posts: 20

Location: London, UK

PostPosted: Thu Oct 09, 2003 8:26 am Reply with quoteBack to top

parthurz, you need mod_rewrite to run Google Tap. If Google ranking is crucially important to you, you have two options: Persuade your host to install it or switch hosting company. A lot of sites do well without Google tap, though.

_________________
Ulrik Almlund - personal site http://almlund.dk

http://Europhilia.org - the online European community
<i>Debate about the European Union</i>
Find all posts by MonnetView user's profileSend private messageVisit poster's website
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next 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



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by TOGETHER TEAM srl ITALY http://www.togetherteam.it - DONDELEO E-COMMERCE http://www.DonDeLeo.com - TUTTISU E-COMMERCE http://www.tuttisu.it
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.790 Seconds - 71 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::