Pagina 1 di 3 123 UltimoUltimo
Visualizzazione risultati 1 fino 30 di 69

Discussione: [phpnukee] htaccess

  1. #1
    Guest

    Question phpnukee htaccess

    gira e rigira,ma non ho trovato la soluzione al mio problema,penso banale.

    allora vediamo di affrontarlo insieme.

    in molti usano su altervista phpnuke e hanno bisogno,come me ,di riscrivere l'url perchè sia indicizzabile dai motori di ricerca e più facile per gli utenti.

    se qualcuno ha risolto questo problema per il suo sito,creando url semplici e leggibili e indicizzabili (e indicizzate)potrebbe postare come ha fatto?magari con il testo del file htaccess,indispensabile per fare tutto ciò.

    grazie.

  2. #2
    Guest

    Predefinito

    guarda qui se ti puo essere utile:

    http://forum.altervista.org/showthread.php?t=41082

  3. #3
    L'avatar di Evcz
    Evcz non è connesso Utente storico
    Data registrazione
    31-05-2002
    Residenza
    Vicenza
    Messaggi
    5,670

    Predefinito

    per avere url facilmente le indicizzabili devi usare aggiunte tipo googletap...
    http://googletap.com/

    http://www.nukecops.com/forum37.html

    oppure gt-nextgen
    http://www.gt-nextgen.com/
    There are three kinds of people in this world: people who watch things happen ... people who complain about things that happen ... and people who make things happen...

  4. #4
    Guest

    Question

    Evcz --> Nel thread citato da jostock ricordo che avevi detto che GoogleTap va modificato perché funzioni, giusto? O esiste da qualche parte una versione scaricabile già pronta all'uso?

    Questa cosa mi interesserebbe molto. :smile:

    ----------
    Il link http://cvs.nukecops.com/cvs.php/GoogleTap non è più valido...
    Ultima modifica di Syst3mCrash3r : 19-08-2005 alle ore 13.45.53 Motivo: link rotto

  5. #5
    L'avatar di Evcz
    Evcz non è connesso Utente storico
    Data registrazione
    31-05-2002
    Residenza
    Vicenza
    Messaggi
    5,670

    Predefinito

    googletap è stato il progetto madre da cui poi sono derivate varie versioni più o meno complete e funzionanti...

    attualmente quella più usata e tenuta aggiornata è "gt-nextgen" che lo linkato prima.

    la versione originale (ammesso che si trovi in giro) era una buona base... ma molti rewrites andavano modificati ed adattati, cosa che non dovrebbe essere necessaria con gt-nextgen ;)
    There are three kinds of people in this world: people who watch things happen ... people who complain about things that happen ... and people who make things happen...

  6. #6
    Guest

    Thumbs up

    Okay, allora provo gt-nextgen. Prima faccio una bella ricarica con il cellulare e attivo il mod rewrite sul mio account. :smile:

    ------------------
    [OT] 5 Euro per circa 1600 AC! [/OT]

    Ora sto provando ad installarlo, ma non si capisce molto bene come fare.
    Il file .htaccess va messo nella cartella principale di Php-Nuke?

    --------------------
    Ho installato tutto ma ora non si vede più nulla! Provo ad accedere alla home, ma non ci riesco! Continua a dare l'errore 500...
    Ultima modifica di Syst3mCrash3r : 19-08-2005 alle ore 14.50.20

  7. #7
    Guest

    Question

    Citazione Originalmente inviato da Syst3mCrash3r
    Ho installato tutto ma ora non si vede più nulla! Provo ad accedere alla home, ma non ci riesco! Continua a dare l'errore 500...
    Non è che magari il mod rewrite si attiva dopo 24 ore? :?????:

  8. #8
    L'avatar di Evcz
    Evcz non è connesso Utente storico
    Data registrazione
    31-05-2002
    Residenza
    Vicenza
    Messaggi
    5,670

    Predefinito

    no, vengono attivati all'istante... controlla che l'htacce sia ok... devi avere solo roba riguardante il mod_rewrite... togli tutto il resto... casomai posta qui l'htaccess che hai caricato...
    There are three kinds of people in this world: people who watch things happen ... people who complain about things that happen ... and people who make things happen...

  9. #9
    Guest

    Post

    Cosa vuoi dire con "togli tutto il resto"?

    Comunque ecco l'htaccess (l'ho messo in php-nuke/html/):
    # $Author: zx $
    # $Date: 2003/08/17 14:03:21 $

    # deny most common except .php
    <FilesMatch "\.(inc|tpl|h|ihtml|sql|ini|conf|class|bin|spd|the me|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]

  10. #10
    Guest

    Post

    Continua:
    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/nukecops/noID.php [L]

    RewriteRule ^index.html index.php

    #Articles
    RewriteRule ^article-([0-9]*)-([a-z]*)-([0-9]*)-([0-9]*).html modules.php?name=News&file=article&sid=$1&mode=$2& order=$3&thold=$4
    RewriteRule ^article-([0-9-]*)-([a-z]*)-([0-9]*)-([0-9]*).html([0-9#]*) modules.php?name=News&file=article&thold=$1&mode=$ 2&order=$3&sid=$4$5
    RewriteRule ^article-topic([0-9]*)-page([0-9]*).html modules.php?name=News&new_topic=$1&pagenum=$2
    RewriteRule ^article-category([0-9]*)-page([0-9]*).html modules.php?name=News&file=categories&op=newindex& catid=$1&pagenum=$2
    RewriteRule ^article-category-([0-9]*).html modules.php?name=News&file=categories&op=newindex& catid=$1
    RewriteRule ^article-print-([0-9]*).html modules.php?name=News&file=print&sid=$1
    RewriteRule ^article-friend-([0-9]*).html modules.php?name=News&file=friend&op=FriendSend&si d=$1
    RewriteRule ^article-page-([0-9]*).html modules.php?name=News&pagenum=$1
    RewriteRule ^article([1-9][0-9]*).* modules.php?name=News&file=article&sid=$1
    RewriteRule ^article-topic-([0-9]*).html modules.php?name=News&new_topic=$1
    RewriteRule ^allnews.html modules.php?name=News&file=allindex
    RewriteRule ^news.html modules.php?name=News

    #AvantGo
    RewriteRule ^avantgo-print-([0-9]*).html modules.php?name=AvantGo&file=print&sid=$1
    RewriteRule ^avantgo.html modules.php?name=AvantGo

    #Content
    RewriteRule ^content-([0-9]*)-page([0-9]*).html modules.php?name=Content&pa=showpage&pid=$1&page=$ 2
    RewriteRule ^content-cat-([0-9]*).html modules.php?name=Content&pa=list_pages_categories& cid=$1
    RewriteRule ^content-([0-9]*).html modules.php?name=Content&pa=showpage&pid=$1
    RewriteRule ^content.html modules.php?name=Content

    #Downloads
    RewriteRule ^downloadview-(comments|details|editorial)-([0-9]*)-([[:punct:]/:\-\'{}()._&a-zA-Z0-9+=]*).html modules.php?name=Downloads&d_op=viewdownload$1&lid =$2&ttitle=$3
    RewriteRule ^download-mod-([0-9]*).html modules.php?name=Downloads&d_op=modifydownloadrequ est&lid=$1
    RewriteRule ^download-broken-([0-9]*).html modules.php?name=Downloads&d_op=brokendownload&lid =$1
    RewriteRule ^download-shownew-([0-9]*).html modules.php?name=Downloads&d_op=NewDownloads&newdo wnloadshowdays=$1
    RewriteRule ^download-seldate-([a-zA-Z0-9+]*).html modules.php?name=Downloads&d_op=NewDownloadsDate&s electdate=$1
    RewriteRule ^download-file-([0-9]*).html modules.php?name=Downloads&d_op=getit&lid=$1
    RewriteRule ^ratedownload-([0-9]*)-([[:punct:]/:\-\'{}()._&a-zA-Z0-9+=]*).html modules.php?name=Downloads&d_op=ratedownload&lid=$ 1&ttitle=$2
    RewriteRule ^ratedownload-([0-9]*).html modules.php?name=Downloads&d_op=ratedownload&lid=$ 1
    RewriteRule ^download-(TopRated|MostPopular)-([0-9]*)-(num|percent).html modules.php?name=Downloads&d_op=$1&ratenum=$2&rate type=$3
    RewriteRule ^downloads-(AddDownload|NewDownloads|MostPopular|TopRated).ht ml modules.php?name=Downloads&d_op=$1
    RewriteRule ^download([0-9]*)-orderby([a-zA-Z0-9+]*).html modules.php?name=Downloads&d_op=viewdownload&cid=$ 1&orderby=$2
    RewriteRule ^download([0-9]*)-([0-9]*)-([a-zA-Z0-9+]*)-([0-9]*).html modules.php?name=Downloads&d_op=viewdownload&cid=$ 1&min=$2&orderby=$3&show=$4
    RewriteRule ^download-search-([[:punct:]/:\-\'{}()._&a-zA-Z0-9+=]*)-([0-9]*)-([a-zA-Z0-9+]*)-([0-9]*).html modules.php?name=Downloads&d_op=search&query=$1&mi n=$2&orderby=$3&show=$4
    RewriteRule ^download-search-([[:punct:]/:\-\'{}()._&a-zA-Z0-9+=]*)-([a-zA-Z0-9+]*).html modules.php?name=Downloads&d_op=search&query=$1&or derby=$2
    RewriteRule ^download-search-([[:punct:]/:\-\'{}()._&a-zA-Z0-9+=]*).html modules.php?name=Downloads&d_op=search&query=$1
    RewriteRule ^download-outside-([0-9]*).html modules.php?name=Downloads&d_op=outsidedownloadset up&lid=$1
    RewriteRule ^downloads-cat([0-9]*).html modules.php?name=Downloads&d_op=viewdownload&cid=$ 1
    RewriteRule ^downloads.html modules.php?name=Downloads

    #Encyclopedia
    RewriteRule ^encyclopedia-([0-9]*)-page([0-9]*)-([a-zA-Z0-9_-]*).html modules.php?name=Encyclopedia&op=content&tid=$1&pa ge=$2&query=$3
    RewriteRule ^encyclopedia-([0-9]*)-page([0-9]*).html modules.php?name=Encyclopedia&op=content&tid=$1&pa ge=$2
    RewriteRule ^encyclopedia-([0-9]*)-([a-zA-Z0-9_-]*).html modules.php?name=Encyclopedia&op=content&tid=$1&qu ery=$2
    RewriteRule ^encyclopedia-([0-9]*).html modules.php?name=Encyclopedia&op=content&tid=$1
    RewriteRule ^encyclopedia-list-([0-9]*).html modules.php?name=Encyclopedia&op=list_content&eid= $1
    RewriteRule ^encyclopedia-terms([0-9]*)-([A-Z]*).html modules.php?name=Encyclopedia&op=terms&eid=$1&ltr= $2
    RewriteRule ^encyclopedia-search-([a-zA-Z0-9_-]*).html modules.php?name=Encyclopedia&file=search&query=$1
    RewriteRule ^encyclopedia-search.html modules.php?name=Encyclopedia&file=search
    RewriteRule ^encyclopedia.html modules.php?name=Encyclopedia

    #Feedback
    RewriteRule ^feedback.html modules.php?name=Feedback

    #FAQ
    RewriteRule ^faq.html modules.php?name=FAQ
    RewriteRule ^faq-([0-9]*)-([a-zA-Z0-9\+\&\-\/%[:punct:]\.\;]*).html modules.php?name=FAQ&myfaq=yes&id_cat=$1&categorie s=$2

    #Forums
    RewriteRule ^ftopic-([0-9]*)-([0-9]*)-days([0-9]*)-order(desc|asc)-([A-Za-z0-9_-]*).html modules.php?name=Forums&file=viewtopic&t=$1&start= $2&postdays=$3&postorder=$4&highlight=$5
    RewriteRule ^ftopic-([0-9]*)-days([0-9]*)-order(desc|asc)-([0-9]*).html modules.php?name=Forums&file=viewtopic&t=$1&postda ys=$2&postorder=$3&start=$4
    RewriteRule ^ftopic-([0-9]*)-([0-9]*).html modules.php?name=Forums&file=viewtopic&t=$1&start= $2
    RewriteRule ^ftopic-([0-9]*)-(previous|next).html modules.php?name=Forums&file=viewtopic&t=$1&view=$ 2
    RewriteRule ^ftopic(t|p)-([0-9]*)-([A-Za-z0-9_-]*).html modules.php?name=Forums&file=viewtopic&$1=$2&highl ight=$3
    RewriteRule ^ftopic-([0-9]*)-(watch|unwatch)-([0-9]*).html modules.php?name=Forums&file=viewtopic&t=$1&$2=top ic&start=$3
    RewriteRule ^ftopic(t|p)-([0-9]*).html modules.php?name=Forums&file=viewtopic&$1=$2
    RewriteRule ^ftopic(t|p)-([0-9]*).html#([0-9]*) modules.php?name=Forums&file=viewtopic&$1=$2#$3
    RewriteRule ^forum-editprofile.html modules.php?name=Forums&file=profile&mode=editprof ile
    RewriteRule ^forum-userprofile-([0-9]*).html modules.php?name=Forums&file=profile&mode=viewprof ile&u=$1
    RewriteRule ^forum-register-new.html modules.php?name=Forums&file=profile&mode=register &agreed=true
    RewriteRule ^forum-register-coppa.html modules.php?name=Forums&file=profile&mode=register &agreed=true&coppa=true
    RewriteRule ^forum-register.html modules.php?name=Forums&file=profile&mode=register
    RewriteRule ^forums-posting.html modules.php?name=Forums&file=modules&name=Forums&f ile=posting
    RewriteRule ^forum-faq-bbcode.html modules.php?name=Forums&file=faq&mode=bbcode
    RewriteRule ^ftopic-post-([0-9]*).html modules.php?name=Forums&file=posting&t=$1
    RewriteRule ^ftopic-vote-([0-9]*).html modules.php?name=Forums&file=posting&mode=vote&t=$ 1
    RewriteRule ^ftopic-new-([0-9]*).html modules.php?name=Forums&file=posting&mode=newtopic &f=$1
    RewriteRule ^ftopic-reply-([0-9]*).html modules.php?name=Forums&file=posting&mode=reply&t= $1
    RewriteRule ^ftopic-edit-([0-9]*).html modules.php?name=Forums&file=posting&mode=editpost &p=$1
    RewriteRule ^ftopic-smilies.html modules.php?name=Forums&file=posting&mode=smilies& popup=1
    RewriteRule ^ftopic-quote-([0-9]*).html modules.php?name=Forums&file=posting&mode=quote&p= $1
    RewriteRule ^forum-posting.html modules.php?name=Forums&file=posting
    RewriteRule ^forums-group([0-9]*).html modules.php?name=Forums&file=groupcp&g=$1
    RewriteRule ^fsearch-author-([a-zA-Z0-9_-]*).html modules.php?name=Forums&file=search&search_author= $1
    RewriteRule ^fsearch-([0-9]*)-([0-9]*).html modules.php?name=Forums&file=search&search_id=$1&s tart=$2
    RewriteRule ^fsearch-(unanswered|egosearch|newposts).html modules.php?name=Forums&file=search&search_id=$1
    RewriteRule ^fsearch-results.html modules.php?name=Forums&file=search&mode=results
    RewriteRule ^forums-([^index][a-zA-Z0-9_-]*).html modules.php?name=Forums&file=$1
    RewriteRule ^forum-c([0-9]*).html modules.php?name=Forums&file=index&c=$1
    RewriteRule ^forum-mark.html modules.php?name=Forums&file=index&mark=forums
    RewriteRule ^forums.html modules.php?name=Forums&file=index
    RewriteRule ^forum-viewonline.html modules.php?name=Forums&file=viewonline
    RewriteRule ^forum-([0-9]*)-days([0-9]*)-([0-9]*).html modules.php?name=Forums&file=viewforum&f=$1&topicd ays=$2&start=$3
    RewriteRule ^forum-([0-9]*)-([0-9]*).html modules.php?name=Forums&file=viewforum&f=$1&start= $2
    RewriteRule ^forum-([0-9]*)-mark.html modules.php?name=Forums&file=viewforum&f=$1&mark=t opics
    RewriteRule ^forum-([0-9]*).html modules.php?name=Forums&file=viewforum&f=$1
    RewriteRule ^forums.html modules.php?name=Forums

  11. #11
    Guest

    Post

    Infine:
    #Journal
    RewriteRule ^journal-search-([a-zA-Z0-9]*).html modules.php?name=Journal&file=search&bywhat=aid&ex act=1&forwhat=$1
    RewriteRule ^journal(search|delete|commentkill)-(bywhat|jid|onwhat)([a-zA-Z0-9]*)-(forwhat|ref)([a-zA-Z0-9]*).html modules.php?name=Journal&file=$1&$2=$3&$4=$5
    RewriteRule ^journal-search-([0-9]*)-([a-zA-Z0-9_-]*).html modules.php?name=Journal&file=search&bywhat=$1&for what=$2
    RewriteRule ^journal-([a-zA-Z0-9+]*)-(jid|onwhat|disp|op|disp)-([a-zA-Z0-9+]*).html modules.php?name=Journal&file=$1&$2=$3
    RewriteRule ^journal-edit.html modules.php?name=Journal&file=edit
    RewriteRule ^journal(file|op)-([a-zA-Z0-9]*).html modules.php?name=Journal&$1=$2
    RewriteRule ^journal.html modules.php?name=Journal

    #Members List
    RewriteRule ^members.html modules.php?name=Members_List

    #Private Messages
    RewriteRule ^messages-post-([0-9]*).html modules.php?name=Private_Messages&file=index&mode= post&u=$1
    RewriteRule ^messages-post-([0-9]*).html modules.php?name=Private_Messages&mode=post&u=$1
    RewriteRule ^messages-new.html modules.php?name=Private_Messages&file=index&mode= post
    RewriteRule ^messages-(sentbox|inbox|savebox|outbox).html modules.php?name=Private_Messages&file=index&folde r=$1
    RewriteRule ^messages.html modules.php?name=Private_Messages

    #Recommend Us
    RewriteRule ^recommend.html modules.php?name=Recommend_Us

    #Reviews
    RewriteRule ^reviews-new.html modules.php?name=Reviews&rop=write_review
    RewriteRule ^reviews-preview.html modules.php?name=Reviews&rop=preview_review
    RewriteRule ^reviews-([0-9]*)-page([0-9]*).html modules.php?name=Reviews&rop=showcontent&id=$1&pag e=$2
    RewriteRule ^reviews-([0-9]*).html modules.php?name=Reviews&rop=showcontent&id=$1
    RewriteRule ^reviews-comment-([0-9]*)-([[:punct:]?/:\-\'{}()._&a-zA-Z0-9+=\%]*).* modules.php?name=Reviews&rop=postcomment&id=$1&tit le=$2
    RewriteRule ^reviews-([0-9]*)-delete.html modules.php?name=Reviews&rop=del_review&id_del=$1
    RewriteRule ^reviews-([0-9]*)-edit.html modules.php?name=Reviews&rop=mod_review&id=$1
    RewriteRule ^reviews-([0-9]*)-delcomment-([0-9]*).html modules.php?name=Reviews&rop=del_comment&cid=$1&id =$2
    RewriteRule ^reviews-([a-zA-Z0-9]*)-orderby-([a-z]*)-([a-zA-Z]*).html modules.php?name=Reviews&rop=$1&field=$2&order=$3
    RewriteRule ^reviews-sortby-([a-zA-Z0-9]*).html modules.php?name=Reviews&rop=$1
    RewriteRule ^reviews.html modules.php?name=Reviews

    #Search
    RewriteRule ^search-([a-zA-Z0-9]*)-([0-9]*)-([0-9]*)-([a-zA-Z0-9]*)-([a-zA-Z]*)-([0-9]*).html modules.php?name=Search&author=$1&topic=$2&min=$3& query=$4&type=$5&category=$6
    RewriteRule ^search-([a-zA-Z0-9]*)-([0-9]*)-([0-9]*)-([a-zA-Z0-9]*)-([a-zA-Z]*).html modules.php?name=Search&author=$1&topic=$2&min=$3& query=$4&type=$5
    RewriteRule ^search-author-([a-zA-Z0-9]*).html modules.php?name=Search&author=$1
    RewriteRule ^search-([a-zA-Z0-9_-]*)-([a-zA-Z0-9_-]*).html modules.php?name=Search&query=$1&author=$2
    RewriteRule ^search-([0-9]*).html modules.php?name=Search&query=&topic=$1
    RewriteRule ^search-users.html modules.php?name=Search&type=users
    RewriteRule ^search.html* modules.php?name=Search

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

    #Statistics
    RewriteRule ^stats-([0-9]*)-([0-9]*)-([0-9]*).html modules.php?name=Statistics&op=DailyStats&year=$1& month=$2&date=$3
    RewriteRule ^stats-([0-9]*)-([0-9]*).html modules.php?name=Statistics&op=MonthlyStats&year=$ 1&month=$2
    RewriteRule ^stats-([0-9]*).html modules.php?name=Statistics&op=YearlyStats&year=$1
    RewriteRule ^advstats.html modules.php?name=Statistics&op=Stats
    RewriteRule ^stats.html modules.php?name=Statistics

    #Stories Archive
    RewriteRule ^archive.html modules.php?name=Stories_Archive
    RewriteRule ^archive-showall.html modules.php?name=Stories_Archive&sa=show_all
    RewriteRule ^archive-([0-9]*)-([0-9]*)-([a-zA-Z]*).* modules.php?name=Stories_Archive&sa=show_month&yea r=$1&month=$2&month_l=$3

    #Surveys
    RewriteRule ^survey-results-([0-9]*)-([a-z]*)-([0-9]*)-([0-9\-]*).html modules.php?name=Surveys&op=results&pollID=$1&mode =$2&order=$3&thold=$4
    RewriteRule ^survey-results-([0-9]*).html modules.php?name=Surveys&op=results&pollID=$1
    RewriteRule ^survey-([0-9]*).html modules.php?name=Surveys&pollID=$1
    RewriteRule ^survey-comment-([0-9]*)-(tid|pid)-([0-9]*)-([a-z]*)-([0-9]*)-([0-9\-]*).html modules.php?name=Surveys&file=comments&pollID=$1&$ 2=$3&mode=$4&order=$5&thold=$6
    RewriteRule ^survey-commreply-([0-9]*)-([0-9]*)-([a-z]*)-([0-9]*)-([0-9\-]*).html modules.php?name=Surveys&file=comments&op=Reply&pi d=$1&pollID=$2&mode=$3&order=$4&thold=$5
    RewriteRule ^survey-showreply-([0-9]*)-([0-9]*)-([0-9]*)-([a-z]*)-([0-9]*)-([0-9\-]*).html modules.php?name=Surveys&file=comments&op=showrepl y&tid=$1&pollID=$2&pid=$3&mode=$4&order=$5&thold=$ 6
    RewriteRule ^survey-showreply-([0-9]*)-([a-z]*)-([0-9]*)-([0-9\-]*).html modules.php?name=Surveys&file=comments&op=showrepl y&tid=$1&mode=$2&order=$3&thold=$4
    RewriteRule ^survey-comments.html modules.php?name=Surveys&file=comments
    RewriteRule ^surveys.html modules.php?name=Surveys

    #Submit_News
    RewriteRule ^submit.html modules.php?name=Submit_News

    #Topics
    RewriteRule ^topics.html modules.php?name=Topics

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

    #WebLinks
    RewriteRule ^viewlinkcomments-([0-9]+)-([[:punct:]/:\-\'(){}.&=_a-zA-Z0-9\ ]*).html modules.php?name=Web_Links&l_op=viewlinkcomments&l id=$1&ttitle=$2
    RewriteRule ^viewlinkdetails-([0-9]+)-([[:punct:]/:\-\'(){}.&=_a-zA-Z0-9\ ]*).html modules.php?name=Web_Links&l_op=viewlinkdetails&li d=$1&ttitle=$2
    RewriteRule ^vieweditorial-([0-9]+)-([[:punct:]/:\-\'(){}.&=_a-zA-Z0-9\ ]*).html modules.php?name=Web_Links&l_op=viewlinkeditorial& lid=$1&ttitle=$2
    RewriteRule ^modifylink-([0-9]+).html modules.php?name=Web_Links&l_op=modifylinkrequest& lid=$1
    RewriteRule ^brokenlink-([0-9]+).html modules.php?name=Web_Links&l_op=brokenlink&lid=$1
    RewriteRule ^outsidelink-([0-9]+).html modules.php?name=Web_Links&l_op=outsidelinksetup&l id=$1
    RewriteRule ^linkop-(MostPopular|TopRated)-([0-9]+)-(num|percent).html modules.php?name=Web_Links&l_op=$1&ratenum=$2&rate type=$3
    RewriteRule ^newlinks-([0-9]+).html modules.php\?name=Web_Links&l_op=NewLinks&newlinks howdays=$1
    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 modules.php?name=Web_Links&l_op=visit&lid=$1
    RewriteRule ^links-([0-9]*)-([a-zA-Z0-9]*).html modules.php?name=Web_Links&file=index&l_op=viewlin k&cid=$1&orderby=$2
    RewriteRule ^links-([0-9]*)-([0-9]*)-([a-zA-Z0-9]*)-([0-9]*).html modules.php?name=Web_Links&file=index&l_op=viewlin k&cid=$1&min=$2&orderby=$3&show=$4
    RewriteRule ^link-([0-9]*).html modules.php?name=Web_Links&l_op=viewlink&cid=$1
    RewriteRule ^links-search-([a-zA-Z0-9]*)-([0-9]*)-orderby-([a-zA-Z]*)-([0-9]*) modules.php?name=Web_Links&l_op=search&query=$1&mi n=$2&orderby=$3&show=$4
    RewriteRule ^links-search-([a-zA-Z0-9_-]*)-orderby-([a-zA-Z]*).html modules.php?name=Web_Links&l_op=search&query=$1&or derby=$2
    RewriteRule ^links-search-([a-zA-Z0-9_-]*).html modules.php?name=Web_Links&l_op=search&query=$1
    RewriteRule ^links.html modules.php?name=Web_Links

    #Webmail
    RewriteRule ^webmail.html modules.php?name=WebMail

    #Your Account
    RewriteRule ^userinfo-([a-zA-Z0-9_-]*).html modules.php?name=Your_Account&op=userinfo&username =$1
    RewriteRule ^account-([a-z_]*).html modules.php?name=Your_Account&op=$1
    RewriteRule ^account.html modules.php?name=Your_Account

    # $Log: htaccess.GT,v $
    # Revision 1.6 2003/11/16 bm
    # GT-NExtGEn Beta 0.1
    #
    # Revision 1.5 2003/10/22 bm
    # Added Complete Reviews and Content
    #
    # Revision 1.4 2003/10/19 bm
    # Added Complete Sections and updated GT Distro with file changes
    #
    # Revision 1.3 2003/10/18 bm
    # Added Complete Downloads, Journals, Stats, Forums and Web Links Module Rewrites
    # Added Corrections/Fixes for FAQ, Reviews and Sections Modules (bm)
    #
    # Revision 1.2 2003/08/17 14:03:21 zx
    # Added for forums poll and category
    #
    # Revision 1.1 2003/07/30 01:12:53 zx
    # Master GoogleTap File -- Use if you desire a GoogleTap Universe
    #
    #

  12. #12
    L'avatar di Evcz
    Evcz non è connesso Utente storico
    Data registrazione
    31-05-2002
    Residenza
    Vicenza
    Messaggi
    5,670

    Predefinito

    con "devi avere solo roba riguardante il mod_rewrite" intendevo togliere questa roba:

    Codice:
    # deny most common except .php
    <FilesMatch "\.(inc|tpl|h|ihtml|sql|ini|conf|class|bin|spd|them e|module)$">
    deny from all
    </FilesMatch>
    
    <Limit GET PUT POST>
    Order Allow,Deny
    Allow from all
    </Limit>
    che NON riguarda il mod_rewrite... ma sono delle limitazioni generiche non sempre usabili...
    There are three kinds of people in this world: people who watch things happen ... people who complain about things that happen ... and people who make things happen...

  13. #13
    Guest

    Predefinito

    Fatto, ma sembra che non funzioni: ora mi dà l'errore 404. :-(

    Posto un link d'esempio: http://syst3mcrash3r.altervista.org/...tml/index.html

    Altra cosa importante: .htaccess va messo in php-nuke o nella sottocartella html?

  14. #14
    L'avatar di Evcz
    Evcz non è connesso Utente storico
    Data registrazione
    31-05-2002
    Residenza
    Vicenza
    Messaggi
    5,670

    Predefinito

    verifica che l'htaccess sia ok....

    va messo nella stessa directory in cui c'è l' index.php di phpnuke.. nel tuo caso DENTRO /html

    per l'errore 404... l'hai caricato via ftp o editato dal pannello?
    prova la seconda modalità...
    There are three kinds of people in this world: people who watch things happen ... people who complain about things that happen ... and people who make things happen...

  15. #15
    Guest

    Unhappy

    1) Eh, l'ho postato proprio perché non lo so! Eppure è quello incluso nel package di gt-nextgen 0.4.
    2) Almeno ho inserito l'htaccess nella directory giusta.
    3) L'htaccess l'ho editato dal pannello, visto che facendo l'upload non lo prendeva.

    Cosa posso fare? :?????:

  16. #16
    L'avatar di Evcz
    Evcz non è connesso Utente storico
    Data registrazione
    31-05-2002
    Residenza
    Vicenza
    Messaggi
    5,670

    Predefinito

    prova a cancellarlo e a rieditarlo...

    casomai prova a leggere questo thread:
    http://forum.altervista.org/showthread.php?t=41398
    There are three kinds of people in this world: people who watch things happen ... people who complain about things that happen ... and people who make things happen...

  17. #17
    Guest

    Question

    L'ho cancellato e l'ho rieditato (mettendo le stesse istruzioni di prima), ma mi sembra che non funzioni per niente. :sadOLD:

    Ho dato un'occhiata a quel thread ma ho ancora le idee confuse (anche perché non ho avuto modo d'approfondire le regex).

    Ad esempio:
    Codice:
    RewriteRule ^index.html index.php$
    Visto che c'è anche questa regola, dovrei poter chiamare tranquillamente dal browser la pagina http://syst3mcrash3r.altervista.org/...html/index.php scrivendo come url http://syst3mcrash3r.altervista.org/...tml/index.html . Invece mi dà l'errore 404.

  18. #18
    Ospite Guest

    Predefinito

    un'attimo che sto facendo confusione

    cosa devo fare per poter indicizzare al meglio il mio sito in php, ho visto molti topic ma anche molta confusione ...

  19. #19
    Guest

    Cool

    virtualzone --> 1) Google Sitemaps; 2) mod rewrite degli url per facilitare l'indicizzazione; 3) Sei leggermente OT... :winkOLD:

  20. #20
    L'avatar di Evcz
    Evcz non è connesso Utente storico
    Data registrazione
    31-05-2002
    Residenza
    Vicenza
    Messaggi
    5,670

    Predefinito

    Syst3mCrash3r in quel post intendevo i vari metodi per caricare l'htaccess..

    hai provato a caricarlo via ftp caricandolo con un nome strano e poi rinominandolo?
    There are three kinds of people in this world: people who watch things happen ... people who complain about things that happen ... and people who make things happen...

  21. #21
    Guest

    Predefinito

    Adesso ho provato a togliere il punto iniziale e a fare l'upload, dopodiché l'ho rinominato (sempre via ftp). Nonostante questo non funziona ancora!

  22. #22
    L'avatar di Evcz
    Evcz non è connesso Utente storico
    Data registrazione
    31-05-2002
    Residenza
    Vicenza
    Messaggi
    5,670

    Predefinito

    giusto per fare una prova prova a cambiare la linea dell'index e usa questa:


    RewriteRule index.html index.php

    (senza ^ e / varie..) e vedi che succede... l'htaccess lo devi avere dentro alla cartella HTML
    There are three kinds of people in this world: people who watch things happen ... people who complain about things that happen ... and people who make things happen...

  23. #23
    Guest

    Question

    Fatto ma non va lo stesso!

    L'htaccess è nella cartella html.
    Ultima modifica di Syst3mCrash3r : 20-08-2005 alle ore 11.35.57

  24. #24
    L'avatar di Evcz
    Evcz non è connesso Utente storico
    Data registrazione
    31-05-2002
    Residenza
    Vicenza
    Messaggi
    5,670

    Predefinito

    uhm... domani provo a farmi un altro account di prova per vedere perchè l'htaccess può dare problemi....
    There are three kinds of people in this world: people who watch things happen ... people who complain about things that happen ... and people who make things happen...

  25. #25
    Guest

    Predefinito

    non se posso essere d'aiuto ,pero' io l'altro ieri dopo aver attivato il modrewrite ho provato ad uploadare del files .htaccess del phpnuke ma non ci sono riuscito.

    WS_FTP caricava normalmente senza dare errore, ma i file .htaccess sparivano

  26. #26
    L'avatar di Evcz
    Evcz non è connesso Utente storico
    Data registrazione
    31-05-2002
    Residenza
    Vicenza
    Messaggi
    5,670

    Predefinito

    hai provato a scriverli da pannello?

    o a caricarlo con un altro nome e quindi rinominarli una volta caricati?
    There are three kinds of people in this world: people who watch things happen ... people who complain about things that happen ... and people who make things happen...

  27. #27
    Guest

    Predefinito

    tra i miei downloads c'è ne uno semplice semplice :D dagli un occhiata

    http://www.ereiser.org/portale/download-file-20.html

  28. #28
    Guest

    Arrow

    Evcz --> Allora attendo con fiducia... :smile: Non hai risposto al mio pm, però. :eyes:

    ErEiSeR --> Mi sono registrato, l'ho scaricato ma ormai provo ad insistere con gt-nextgen (la terrò presente come alternativa! ).

  29. #29
    Guest

    Predefinito

    ok :P

  30. #30
    Guest

    Arrow

    Citazione Originalmente inviato da Syst3mCrash3r
    Evcz --> Allora attendo con fiducia... :smile: Non hai risposto al mio pm, però. :eyes:
    Speriamo bene, perché ora ho il sito in panne!

Pagina 1 di 3 123 UltimoUltimo

Regole di scrittura

  • Non puoi creare nuove discussioni
  • Non puoi rispondere ai messaggi
  • Non puoi inserire allegati.
  • Non puoi modificare i tuoi messaggi
  •