Watch
GitHub Core
Show your support for Zikula! Sign up at Github account and watch the Core project!
GitHub Modules
- mesteele101 responded to »ERR (3): E_USER_ERROR: Smarty error: [in pagesvar:pagesitem2en line XXX]…« 07:01 AM
- mazdev responded to »Pages 2.5.0 and updating - Page not found« 06:41 AM
- ehdwma created topic »Hide "Register new account" and change template to 3 col« 06:27 AM
- mesteele101 responded to »Zikula 1.3.3 - Selecting a category in Pages not working« 01:29 AM
- mdee created topic »How to implement returnpage ?« 01:00 AM
- nestormateo responded to »Fillters in Clip« 24. May
- damon responded to »Can the Updated Version Check be Turned Off (Z 1.3)« 24. May
Zikula Blog
- Anatomy of Open Source Projects on Mar 07
- Continuous Review on Mar 01
- Not Invented Here on Feb 24
- How to Contribute Your Code at Github on Jan 13
- 10 Steps to Coding-Nirvana: Tips for Successful Module Writing on Nov 12
- Submitting Bug Report Tickets That Get Results on Aug 17
- Cozi Tricks #1: Syntax Highlighting on Aug 07
Login
Autothemes with 7.5
-
**unknown user**
- Rank: Registered User
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 22
I recently bought autothemes 1.7, it wont work with the phtml.htaccess supplied with auto themes but will mostly work with the xanthia htaccess. It works when I try it on a 7.26 site. Ive tried getting some help from the AutoTheme site but they havent even bothered to respond in more than a week. Can anyone help? -
**unknown user**
- Rank: Registered User
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 22
Yes. It works perfect on a 7.26 site, but the only way I can get it to work on 7.5 is to use the htaccess file from the xanthia module and then modules called like /index.php?module=My_eGallery&func=main wont work. Yet the same call will work with 7.26 and the at htaccess file. -
**unknown user**
- Rank: Senior
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 2330
...did you set up your AutoTheme install to use phtml then? It works for me... -
**unknown user**
- Rank: Registered User
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 22
Yes I set it to use phtml. Whats driving me nuts is that it works fine on 7.26 with the htaccess file but not on 7.50. Both sites have the same configuration and version as far as PHP and mysql .7 lite worked fine on the site but .81 lite had the same problems which is why I bought 1.7 hoping to fix the problem. The htaccess file doesnt look corrupted but only the xanthia htaccess file works. Ive set permissions for compile cach and cfg according to the instructions, activated according to the instructions etc. Ive deleted and reinstalled numerous times. What I get with the at htaccess file is page cannot be found when I click on a link.
Heres the htaccess file supplied with at
php_flag session.use_trans_sid off
# CHTEKK
#
# LongiTEKK.com NETWORK Admin - chtekk@longitekk.com
# MaxDev Devel - chtekk@maxdev.com
# ENG
# Place this file in your MD-Pro root directory, alongside the main index.php file
# ITA
# Inserisci questo file nella tua cartella principale di MD-Pro, assieme al file index.php principale
# ENG
# The "Options FollowSymLinks" line may be deleted, since on certain hosts it causes a config error!
# Or sometimes it can help to sobstitue it with "Options +SymLinksIfOwnerMatch".
# ITA
# La riga "Options FollowSymLinks" può a volte essere eliminata, siccome causa errori di
# configurazione su certi hosts oppure si può provare con "Options +SymLinksIfOwnerMatch"!
Options SymLinksIfOwnerMatch
RewriteEngine On
# Exclude certain directories / Escludi certe cartelle
RewriteRule ^cache/.*$ - [PT]
RewriteRule ^config/.*$ - [PT]
RewriteRule ^docs/.*$ - [PT]
RewriteRule ^images/.*$ - [PT]
RewriteRule ^includes/.*$ - [PT]
RewriteRule ^javascript/.*$ - [PT]
RewriteRule ^language/.*$ - [PT]
RewriteRule ^modules/.*$ - [PT]
RewriteRule ^pnadodb/.*$ - [PT]
RewriteRule ^themes/.*$ - [PT]
RewriteRule ^upload/.*$ - [PT]
# Uncomment the following line if using MultiSite / Scommentare la seguente linea se si usa il Multisite
# RewriteRule ^parameters/.*$ - [PT]
# ENG
# This option is for use in Virtual Hosts or .htaccess files to inherit rewrite rules in the main section,
# so if you have your own server you don't have to copy the rules into every Virtual Host you run.
# Will cause an error if placed in the main httpd.conf section, as there's nothing to inherit.
# ITA
# Quest'opzione è per l'uso in Virtual Hosts o in file .htaccess per inserire le regole di riscrittura solo
# nella sezione principale, così se possiedi un tuo server non dovrai copiare le regole di riscrittura in
# ogni Virtual Host che hai. Causerà errori se viene inserita nella sezione principale dell'httpd.conf.
# RewriteOptions 'inherit'
# index.php and user.php
RewriteRule ^changelang-([^-]+)\.phtml$ index.php?newlang=$1 [L,NC,NS]
RewriteRule ^changetheme-([^-]+)\.phtml$ index.php?theme=$1 [L,NC,NS]
RewriteRule ^index\.phtml$ index.php [L,NC,NS]
RewriteRule ^user\.phtml$ user.php [L,NC,NS]
# htmlp
RewriteRule ^htmlp-([0-9]+)\.phtml$ index.php?module=htmlp&func=display&pid=$1 [L,NC,NS]
# ppnews
RewriteRule ^ppnews-index\.phtml$ index.php?module=ppnews&choix=index [L,NC,NS]
RewriteRule ^ppnews-([^-]+)\.phtml$ index.php?module=ppnews&choix=$1 [L,NC,NS]
# My_eGallery
RewriteRule ^MeG-([^-]+)\.phtml$ index.php?module=My_eGallery&do=$1 [L,NC,NS]
RewriteRule ^MeG-([^-]+)-([^-]+)-([^-]+)\.phtml$ index.php?module=My_eGallery&do=$1&$2=$3 [L,NC,NS]
RewriteRule ^MeG-([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)\.phtml$ index.php?module=My_eGallery&do=$1&$2=$3&$4=$5 [L,NC,NS]
RewriteRule ^MeG-([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)\.phtml$ index.php?module=My_eGallery&do=$1&$2=$3&$4=$5&$6=$7 [L,NC,NS]
# NS-User_Points
RewriteRule ^User_Points\.phtml$ modules.php?op=modload&name=NS-User_Points&file=index [L,NC,NS]
# NS-Link_To_Us
RewriteRule ^Link_To_Us\.phtml$ modules.php?op=modload&name=NS-Link_To_Us&file=index [L,NC,NS]
# Polls / Sondaggi
RewriteRule ^Polls\.phtml$ modules.php?op=modload&name=NS-Polls&file=index [L,NC,NS]
RewriteRule ^Poll-([0-9]+)\.phtml$ modules.php?op=modload&name=NS-Polls&file=index&pollID=$1 [L,NC,NS]
RewriteRule ^Poll-([0-9]+)-([^-]+)-([0-9]+)-([0-9]+)\.phtml$ modules.php?op=modload&name=NS-Polls&file=index&pollID=$1&mode=$2&order=$3&thold=$4 [L,NC,NS]
RewriteRule ^Poll-req-([^-]+)-([0-9]+)\.phtml$ modules.php?op=modload&name=NS-Polls&file=index&req=$1&pollID=$2 [L,NC,NS]
RewriteRule ^Poll-req-([^-]+)-([0-9]+)-([^-]+)-([0-9]+)-([0-9]+)\.phtml$ modules.php?op=modload&name=NS-Polls&file=index&req=$1&pollID=$2&mode=$3&order=$4&thold=$5 [L,NC,NS]
# Private Messages / Messaggi Privati
RewriteRule ^Messages-outbox\.phtml$ modules.php?op=modload&name=Messages&file=outbox [L,NC,NS]
RewriteRule ^Messages-inbox\.phtml$ modules.php?op=modload&name=Messages&file=index [L,NC,NS]
# Search functions (by user and by topic) / Funzioni di ricerca (per utente e per argomento)
RewriteRule ^Search-author-([^-]+)\.phtml$ modules.php?op=modload&name=Search&file=index&action=search&overview=1&active_stories=1&stories_author=$1 [L,NC,NS]
RewriteRule ^Search-topics-([^-]+)\.phtml$ modules.php?op=modload&name=Search&file=index&action=search&overview=1&active_stories=1&stories_topics[0]=$1 [L,NC,NS]
RewriteRule ^Search-author-([^-]+)-no\.phtml$ modules.php?op=modload&name=Search&file=index&action=search&active_stories=1&stories_author=$1 [L,NC,NS]
RewriteRule ^Search-topics-([^-]+)-no\.phtml$ modules.php?op=modload&name=Search&file=index&action=search&active_stories=1&stories_topics[0]=$1 [L,NC,NS]
# daily_archive
RewriteRule ^daily_archive-([^-]+)\.phtml$ index.php?module=daily_archive&func=$1 [L,NC,NS]
RewriteRule ^daily_archive-([^-]+)-([^-]+)\.phtml$ index.php?module=daily_archive&func=display&req=get&year=$1&month=$2 [L,NC,NS]
RewriteRule ^daily_archive-([^-]+)-([^-]+)-([^-]+)\.phtml$ index.php?module=daily_archive&func=display&req=get&year=$1&month=$2&day=$3 [L,NC,NS]
RewriteRule ^daily_archive-([^-]+)-([^-]+)-([^-]+)-([^-]+)\.phtml$ index.php?module=daily_archive&func=display&req=get&year=$1&month=$2&day=$3&page=$4 [L,NC,NS]
# News Extension / Estensione News
RewriteRule ^News-hometopicmore-([0-9]+)\.phtml$ modules.php?op=modload&name=News&file=index&catid=&topic=&startrow=$1 [L,NC,NS]
RewriteRule ^News-topicmore-([0-9]+)-([0-9]+)\.phtml$ modules.php?op=modload&name=News&file=index&catid=&topic=$1&startrow=$2 [L,NC,NS]
# PostCalendar
RewriteRule ^PostCalendar-([0-9]{2})-([0-9]{2})-([0-9]{4})-event-([0-9]+)\.phtml$ index.php?module=PostCalendar&func=view&Date=$3$2$1&tplview=&viewtype=details&eid=$4&print= [L,NC,NS]
RewriteRule ^PostCalendar-([0-9]{2})-([0-9]{2})-([0-9]{4})\.phtml$ index.php?module=PostCalendar&func=view&tplview=default&viewtype=month&Date=$3$2$1 [L,NC,NS]
RewriteRule ^PostCalendar-([0-9]{2})-([0-9]{2})-([0-9]{4})-([A-Za-z]+)-([^-\.]+)\.phtml$ index.php?module=PostCalendar&func=view&tplview=$5&viewtype=$4&Date=$3$2$1&pc_username=&pc_category=&pc_topic=&print= [L,NC,NS]
RewriteRule ^PostCalendar-([0-9]{2})-([0-9]{2})-([0-9]{4})-([A-Za-z]+)\.phtml$ index.php?module=PostCalendar&func=view&tplview=&viewtype=$4&Date=$3$2$1&pc_username=&pc_category=&pc_topic=&print= [L,NC,NS]
RewriteRule ^PostCalendar-([A-Za-z]+)\.phtml$ index.php?module=PostCalendar&func=$1 [L,NC,NS]
# Articles / Articoli
RewriteRule ^Article([0-9]+)\.phtml$ modules.php?op=modload&name=News&file=article&sid=$1&mode=thread&order=0&thold=0 [L,NC,NS]
RewriteRule ^Article([0-9]+)-([A-Za-z=]+)(-order([0-9]))?(-threshold([0-9\-]{1,2}))?\.phtml$ modules.php?op=modload&name=News&file=article&sid=$1&mode=$2&order=$4&thold=$6 [L,NC,NS]
# Recommend us to a friend / Raccomandaci ad un amico
RewriteRule ^SendArticle([0-9]+)\.phtml$ modules.php?op=modload&name=Recommend_Us&file=index&req=FriendSend&sid=$1 [L,NC,NS]
# Sections / Sezioni
RewriteRule ^Section-([0-9]+)\.phtml$ modules.php?op=modload&name=Sections&file=index&req=listarticles&secid=$1 [L,NC,NS]
RewriteRule ^Sections-article([0-9]+)(-p([0-9]*))?\.phtml$ modules.php?op=modload&name=Sections&file=index&req=viewarticle&artid=$1&page=$3 [L,NC,NS]
# Print article / Stampa un articolo
RewriteRule ^PrintArticle([0-9]+)\.phtml$ print.php?sid=$1 [L,NC,NS]
# Categories / Categorie
RewriteRule ^Category([0-9]+)\.phtml$ index.php?catid=$1 [L,NC,NS]
RewriteRule ^Category([0-9]+)-All\.phtml$ modules.php?op=modload&name=News&file=index&catid=$1&allstories=1 [L,NC,NS]
# Topics / Argomenti
RewriteRule ^Topic([0-9]+)\.phtml$ modules.php?op=modload&name=News&file=index&catid=&topic=$1 [L,NC,NS]
RewriteRule ^Topic([0-9]+)all\.phtml$ modules.php?op=modload&name=News&file=index&catid=&topic=$1&allstories=1 [L,NC,NS]
# FAQ
RewriteRule ^FAQ-Category([0-9]+)-([^-]+)-Parent([0-9]+)-myfaq-([^-\.]+).htm$ modules.php?op=modload&name=FAQ&file=index&myfaq=$4&id_cat=$1&categories=$2&parent_id=$3 [L,NC,NS]
# Rules for PNphpBB2 / Regole per PNphpBB2
RewriteRule ^PNphpBB2\.phtml$ index.php?name=PNphpBB2&file=index [L,NC,NS]
RewriteRule ^PNphpBB2-([^-]+)\.phtml$ index.php?name=PNphpBB2&file=$1 [L,NC,NS]
RewriteRule ^PNphpBB2-([^-]+)-([^-]+)-([^-]+)\.phtml$ index.php?name=PNphpBB2&file=$1&$2=$3 [L,NC,NS]
RewriteRule ^PNphpBB2-([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)\.phtml$ index.php?name=PNphpBB2&file=$1&$2=$3&$4=$5 [L,NC,NS]
RewriteRule ^PNphpBB2-([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)\.phtml$ index.php?name=PNphpBB2&file=$1&$2=$3&$4=$5&$6=$7 [L,NC,NS]
RewriteRule ^PNphpBB2-([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)\.phtml$ index.php?name=PNphpBB2&file=$1&$2=$3&$4=$5&$6=$7&$8=$9 [L,NC,NS]
# User related URLs / URL relative agli utenti
RewriteRule ^UserInfo-([^-]+)\.phtml$ user.php?op=userinfo&uname=$1 [L,NC,NS]
RewriteRule ^UserReg\.phtml$ user.php?op=register&module=NS-NewUser [L,NC,NS]
RewriteRule ^UserReg-CheckAge\.phtml$ user.php?op=check_age&module=NS-NewUser [L,NC,NS]
RewriteRule ^User-Login\.phtml$ user.php?op=loginscreen&module=NS-User [L,NC,NS]
RewriteRule ^User-LostPassword\.phtml$ user.php?op=lostpassscreen&module=NS-LostPassword [L,NC,NS]
RewriteRule ^User-Logout\.phtml$ user.php?module=NS-User&op=logout [L,NC,NS]
# General rules for modules with index.php?name=... / Regole generali per moduli con index.php?name=...
RewriteRule ^name-([^-]+)\.phtml$ index.php?name=$1&file=index [L,NC,NS]
RewriteRule ^name-([^-]+)-([^-]+)\.phtml$ index.php?name=$1&file=$2 [L,NC,NS]
RewriteRule ^name-([^-]+)-([^-]+)-([^-]+)-([^-]+)\.phtml$ index.php?name=$1&file=$2&$3=$4 [L,NC,NS]
RewriteRule ^name-([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)\.phtml$ index.php?name=$1&file=$2&$3=$4&$5=$6 [L,NC,NS]
RewriteRule ^name-([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)\.phtml$ index.php?name=$1&file=$2&$3=$4&$5=$6&$7=$8 [L,NC,NS]
RewriteRule ^name-([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)\.phtml$ index.php?name=$1&file=$2&$3=$4&$5=$6&$7=$8&$9=$10 [L,NC,NS]
# General rules for modules with index.php?module=... / Regole generali per moduli con index.php?module=...
RewriteRule ^mod-([^-]+)\.phtml$ index.php?module=$1&func=main [L,NC,NS]
RewriteRule ^mod-([^-]+)-([^-]+)\.phtml$ index.php?module=$1&func=$2 [L,NC,NS]
RewriteRule ^mod-([^-]+)-([^-]+)-([^-]+)-([^-]+)\.phtml$ index.php?module=$1&func=$2&$3=$4 [L,NC,NS]
RewriteRule ^mod-([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)\.phtml$ index.php?module=$1&func=$2&$3=$4&$5=$6 [L,NC,NS]
RewriteRule ^mod-([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)\.phtml$ index.php?module=$1&func=$2&$3=$4&$5=$6&$7=$8 [L,NC,NS]
RewriteRule ^mod-([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)\.phtml$ index.php?module=$1&func=$2&$3=$4&$5=$6&$7=$8&$9=$10 [L,NC,NS]
# General rules for modules with modules.php?op=modload&name=...&file=... / Regole generali per modules.php?op=modload&name=...&file=...
RewriteRule ^([^-]+)\+([^-]+)\.phtml$ modules.php?op=modload&name=$1&file=index&req=$2 [L,NC,NS]
RewriteRule ^([^-]+)\.phtml$ modules.php?op=modload&name=$1&file=index [L,NC,NS]
RewriteRule ^([^-]+)-([^-]+)\.phtml$ modules.php?op=modload&name=$1&file=$2 [L,NC,NS]
RewriteRule ^([^-]+)-([^-]+)-([^-]+)-([^-]+)\.phtml$ modules.php?op=modload&name=$1&file=$2&$3=$4 [L,NC,NS]
RewriteRule ^([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)\.phtml$ modules.php?op=modload&name=$1&file=$2&$3=$4&$5=$6 [L,NC,NS]
RewriteRule ^([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)\.phtml$ modules.php?op=modload&name=$1&file=$2&$3=$4&$5=$6&$7=$8 [L,NC,NS]
RewriteRule ^([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)\.phtml$ modules.php?op=modload&name=$1&file=$2&$3=$4&$5=$6&$7=$8&$9=$10 [L,NC,NS]
and the xanthia htaccess file
# $Id: .htaccess,v 1.4 2004/06/29 08:46:46 chestnut Exp $
# ----------------------------------------------------------------------
# PostNuke Content Management System
# Copyright (C) 2002 by the PostNuke Development Team.
# http://www.postnuke.com/
# ----------------------------------------------------------------------
# Based on:
# PHP-NUKE Web Portal System - http://phpnuke.org/
# Thatware - http://thatware.org/
# ----------------------------------------------------------------------
# LICENSE
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License (GPL)
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# To read the license please visit http://www.gnu.org/copyleft/gpl.html
# ----------------------------------------------------------------------
#
# Based upon the .htaccess of MD-Pro, written by
# LongiTEKK.com NETWORK Admin - chtekk@longitekk.com
# MaxDev Devel - chtekk@maxdev.com
#
# ----------------------------------------------------------------------
#
# Place this file in your Postnuke root directory, alongside the main
# index.php file
# The "Options FollowSymLinks" line may be deleted, since on certain
# hosts it causes a config error!
#
# ----------------------------------------------------------------------
Options FollowSymLinks
RewriteEngine On
# ENG
# This option is for use in Virtual Hosts or .htaccess files to inherit rewrite rules in the main section,
# so if you have your own server you don't have to copy the rules into every Virtual Host you run.
# Will cause an error if placed in the main httpd.conf section, as there's nothing to inherit.
# RewriteOptions 'inherit'
# Exclude certain directories
RewriteRule ^modules/.*$ - [PT]
RewriteRule ^themes/.*$ - [PT]
RewriteRule ^javascript/.*$ - [PT]
# index.php and user.php
RewriteRule ^changelang-([^-]+)\.phtml$ index.php?newlang=$1 [L,NC,NS]
RewriteRule ^changetheme-([^-]+)\.phtml$ index.php?theme=$1 [L,NC,NS]
RewriteRule ^index\.phtml$ index.php [L,NC,NS]
RewriteRule ^user\.phtml$ user.php [L,NC,NS]
# ppnews
RewriteRule ^ppnews-index\.phtml$ index.php?module=ppnews&choix=index [L,NC,NS]
RewriteRule ^ppnews-([^-]+)\.phtml$ index.php?module=ppnews&choix=$1 [L,NC,NS]
# My_eGallery
RewriteRule ^MeG-([^-]+)\.phtml$ index.php?module=My_eGallery&do=$1 [L,NC,NS]
RewriteRule ^MeG-([^-]+)-([^-]+)-([^-]+)\.phtml$ index.php?module=My_eGallery&do=$1&$2=$3 [L,NC,NS]
RewriteRule ^MeG-([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)\.phtml$ index.php?module=My_eGallery&do=$1&$2=$3&$4=$5 [L,NC,NS]
RewriteRule ^MeG-([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)\.phtml$ index.php?module=My_eGallery&do=$1&$2=$3&$4=$5&$6=$7 [L,NC,NS]
# NS-User_Points
RewriteRule ^User_Points\.phtml$ modules.php?op=modload&name=NS-User_Points&file=index [L,NC,NS]
# NS-Link_To_Us
RewriteRule ^Link_To_Us\.phtml$ modules.php?op=modload&name=NS-Link_To_Us&file=index [L,NC,NS]
# Polls / Sondaggi
RewriteRule ^Poll-([0-9]{1,3})([A-Za-z]*)?\.phtml$ modules.php?op=modload&name=NS-Polls&file=index&req=$2&pollID=$1 [L,NC,NS]
RewriteRule ^Polls\.phtml$ modules.php?op=modload&name=NS-Polls&file=index [L,NC,NS]
# Private Messages / Messaggi Privati
RewriteRule ^Messages-outbox\.phtml$ modules.php?op=modload&name=Messages&file=outbox [L,NC,NS]
RewriteRule ^Messages-inbox\.phtml$ modules.php?op=modload&name=Messages&file=index [L,NC,NS]
# Search functions (by user and by topic) / Funzioni di ricerca (per utente e per argomento)
RewriteRule ^Search-author-([^-]+)\.phtml$ modules.php?op=modload&name=Search&file=index&action=search&overview=1&active_stories=1&stories_author=$1 [L,NC,NS]
RewriteRule ^Search-topics-([^-]+)\.phtml$ modules.php?op=modload&name=Search&file=index&action=search&overview=1&active_stories=1&stories_topics[0]=$1 [L,NC,NS]
RewriteRule ^Search-author-([^-]+)-no\.phtml$ modules.php?op=modload&name=Search&file=index&action=search&active_stories=1&stories_author=$1 [L,NC,NS]
RewriteRule ^Search-topics-([^-]+)-no\.phtml$ modules.php?op=modload&name=Search&file=index&action=search&active_stories=1&stories_topics[0]=$1 [L,NC,NS]
# daily_archive
RewriteRule ^daily_archive-([^-]+)\.phtml$ index.php?module=daily_archive&func=$1 [L,NC,NS]
RewriteRule ^daily_archive-([^-]+)-([^-]+)\.phtml$ index.php?module=daily_archive&func=display&req=get&year=$1&month=$2 [L,NC,NS]
RewriteRule ^daily_archive-([^-]+)-([^-]+)-([^-]+)\.phtml$ index.php?module=daily_archive&func=display&req=get&year=$1&month=$2&day=$3 [L,NC,NS]
RewriteRule ^daily_archive-([^-]+)-([^-]+)-([^-]+)-([^-]+)\.phtml$ index.php?module=daily_archive&func=display&req=get&year=$1&month=$2&day=$3&page=$4 [L,NC,NS]
# News Extension / Estensione News
RewriteRule ^News-hometopicmore-([0-9]+)\.phtml$ modules.php?op=modload&name=News&file=index&catid=&topic=&startrow=$1 [L,NC,NS]
RewriteRule ^News-topicmore-([0-9]+)-([0-9]+)\.phtml$ modules.php?op=modload&name=News&file=index&catid=&topic=$1&startrow=$2 [L,NC,NS]
# PostCalendar
RewriteRule ^PostCalendar-([0-9]{2})-([0-9]{2})-([0-9]{4})-event-([0-9]+)\.phtml$ index.php?module=PostCalendar&func=view&Date=$3$2$1&tplview=&viewtype=details&eid=$4&print= [L,NC,NS]
RewriteRule ^PostCalendar-([0-9]{2})-([0-9]{2})-([0-9]{4})\.phtml$ index.php?module=PostCalendar&func=view&tplview=default&viewtype=month&Date=$3$2$1 [L,NC,NS]
RewriteRule ^PostCalendar-([0-9]{2})-([0-9]{2})-([0-9]{4})-([A-Za-z]+)-([^-\.]+)\.phtml$ index.php?module=PostCalendar&func=view&tplview=$5&viewtype=$4&Date=$3$2$1&pc_username=&pc_category=&pc_topic=&print= [L,NC,NS]
RewriteRule ^PostCalendar-([0-9]{2})-([0-9]{2})-([0-9]{4})-([A-Za-z]+)\.phtml$ index.php?module=PostCalendar&func=view&tplview=&viewtype=$4&Date=$3$2$1&pc_username=&pc_category=&pc_topic=&print= [L,NC,NS]
RewriteRule ^PostCalendar-([A-Za-z]+)\.phtml$ index.php?module=PostCalendar&func=$1 [L,NC,NS]
# Articles / Articoli
RewriteRule ^Article([0-9]+)\.phtml$ modules.php?op=modload&name=News&file=article&sid=$1&mode=thread&order=0&thold=0 [L,NC,NS]
RewriteRule ^Article([0-9]+)-([A-Za-z=]+)(-order([0-9]))?(-threshold([0-9\-]{1,2}))?\.phtml$ modules.php?op=modload&name=News&file=article&sid=$1&mode=$2&order=$4&thold=$6 [L,NC,NS]
# Recommend us to a friend / Raccomandaci ad un amico
RewriteRule ^SendArticle([0-9]+)\.phtml$ modules.php?op=modload&name=Recommend_Us&file=index&req=FriendSend&sid=$1 [L,NC,NS]
# Sections / Sezioni
RewriteRule ^Section-([0-9]+)\.phtml$ modules.php?op=modload&name=Sections&file=index&req=listarticles&secid=$1 [L,NC,NS]
RewriteRule ^Sections-article([0-9]+)(-p([0-9]*))?\.phtml$ modules.php?op=modload&name=Sections&file=index&req=viewarticle&artid=$1&page=$3 [L,NC,NS]
# Print article / Stampa un articolo
RewriteRule ^PrintArticle([0-9]+)\.phtml$ print.php?sid=$1 [L,NC,NS]
# Categories / Categorie
RewriteRule ^Category([0-9]+)\.phtml$ index.php?catid=$1 [L,NC,NS]
RewriteRule ^Category([0-9]+)-All\.phtml$ modules.php?op=modload&name=News&file=index&catid=$1&allstories=1 [L,NC,NS]
# Topics / Argomenti
RewriteRule ^Topic([0-9]+)\.phtml$ modules.php?op=modload&name=News&file=index&catid=&topic=$1 [L,NC,NS]
RewriteRule ^Topic([0-9]+)all\.phtml$ modules.php?op=modload&name=News&file=index&catid=&topic=$1&allstories=1 [L,NC,NS]
# FAQ
RewriteRule ^FAQ-Category([0-9]+)-([^-]+)-Parent([0-9]+)-myfaq-([^-\.]+).phtml$ modules.php?op=modload&name=FAQ&file=index&myfaq=$4&id_cat=$1&categories=$2&parent_id=$3 [L,NC,NS]
# Rules for PNphpBB2 / Regole per PNphpBB2
RewriteRule ^PNphpBB2\.phtml$ index.php?name=PNphpBB2&file=index [L,NC,NS]
RewriteRule ^PNphpBB2-([^-]+)\.phtml$ index.php?name=PNphpBB2&file=$1 [L,NC,NS]
RewriteRule ^PNphpBB2-([^-]+)-([^-]+)-([^-]+)\.phtml$ index.php?name=PNphpBB2&file=$1&$2=$3 [L,NC,NS]
RewriteRule ^PNphpBB2-([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)\.phtml$ index.php?name=PNphpBB2&file=$1&$2=$3&$4=$5 [L,NC,NS]
RewriteRule ^PNphpBB2-([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)\.phtml$ index.php?name=PNphpBB2&file=$1&$2=$3&$4=$5&$6=$7 [L,NC,NS]
RewriteRule ^PNphpBB2-([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)\.phtml$ index.php?name=PNphpBB2&file=$1&$2=$3&$4=$5&$6=$7&$8=$9 [L,NC,NS]
# User related URLs / URL relative agli utenti
RewriteRule ^UserInfo-([^-]+)\.phtml$ user.php?op=userinfo&uname=$1 [L,NC,NS]
RewriteRule ^UserReg\.phtml$ user.php?op=register&module=NS-NewUser [L,NC,NS]
RewriteRule ^UserReg-CheckAge\.phtml$ user.php?op=check_age&module=NS-NewUser [L,NC,NS]
RewriteRule ^User-Login\.phtml$ user.php?op=loginscreen&module=NS-User [L,NC,NS]
RewriteRule ^User-LostPassword\.phtml$ user.php?op=lostpassscreen&module=NS-LostPassword [L,NC,NS]
RewriteRule ^User-Logout\.phtml$ user.php?module=NS-User&op=logout [L,NC,NS]
# General rules for modules with index.php?name=... / Regole generali per moduli con index.php?name=...
RewriteRule ^name-([^-]+)\.phtml$ index.php?name=$1&file=index [L,NC,NS]
RewriteRule ^name-([^-]+)-([^-]+)\.phtml$ index.php?name=$1&file=$2 [L,NC,NS]
RewriteRule ^name-([^-]+)-([^-]+)-([^-]+)-([^-]+)\.phtml$ index.php?name=$1&file=$2&$3=$4 [L,NC,NS]
RewriteRule ^name-([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)\.phtml$ index.php?name=$1&file=$2&$3=$4&$5=$6 [L,NC,NS]
RewriteRule ^name-([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)\.phtml$ index.php?name=$1&file=$2&$3=$4&$5=$6&$7=$8 [L,NC,NS]
RewriteRule ^name-([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)\.phtml$ index.php?name=$1&file=$2&$3=$4&$5=$6&$7=$8&$9=$10 [L,NC,NS]
# General rules for modules with index.php?module=... / Regole generali per moduli con index.php?module=...
RewriteRule ^module-([^-]+)\.phtml$ index.php?module=$1&func=main [L,NC,NS]
RewriteRule ^module-([^-]+)-([^-]+)\.phtml$ index.php?module=$1&func=$2 [L,NC,NS]
RewriteRule ^module-([^-]+)-([^-]+)-([^-]+)-([^-]+)\.phtml$ index.php?module=$1&func=$2&$3=$4 [L,NC,NS]
RewriteRule ^module-([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)\.phtml$ index.php?module=$1&func=$2&$3=$4&$5=$6 [L,NC,NS]
RewriteRule ^module-([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)\.phtml$ index.php?module=$1&func=$2&$3=$4&$5=$6&$7=$8 [L,NC,NS]
RewriteRule ^module-([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)\.phtml$ index.php?module=$1&func=$2&$3=$4&$5=$6&$7=$8&$9=$10 [L,NC,NS]
# General rules for modules with modules.php?op=modload&name=...&file=... / Regole generali per modules.php?op=modload&name=...&file=...
RewriteRule ^([^-]+)\+([^-]+)\.phtml$ modules.php?op=modload&name=$1&file=index&req=$2 [L,NC,NS]
RewriteRule ^([^-]+)\.phtml$ modules.php?op=modload&name=$1&file=index [L,NC,NS]
RewriteRule ^([^-]+)-([^-]+)\.phtml$ modules.php?op=modload&name=$1&file=$2 [L,NC,NS]
RewriteRule ^([^-]+)-([^-]+)-([^-]+)-([^-]+)\.phtml$ modules.php?op=modload&name=$1&file=$2&$3=$4 [L,NC,NS]
RewriteRule ^([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)\.phtml$ modules.php?op=modload&name=$1&file=$2&$3=$4&$5=$6 [L,NC,NS]
RewriteRule ^([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)\.phtml$ modules.php?op=modload&name=$1&file=$2&$3=$4&$5=$6&$7=$8 [L,NC,NS]
RewriteRule ^([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)-([^-]+)\.phtml$ modules.php?op=modload&name=$1&file=$2&$3=$4&$5=$6&$7=$8&$9=$10 [L,NC,NS]
Ive tried working with the Options SymLinksIfOwnerMatch as suggested on both filew with no luck. Its got to be something simple but so far its got me beat.
billT -
- Rank: Freshman
- Registered: Jan 22, 2004
- Last visit: Oct 21, 2009
- Posts: 66
There is a Autourls fix in the Autothemes Download Area under Updates.
Do you use this one?
This fix got posted 4 days after the AutoTheme 1.7 Module. So some people maybe forgot to download it, as it is not implemented in the 1.7 version.
What you could try is. Disable shorturls. Delete all htaccess files in your root. Upload again the phtml.htaccess, rename it and activate short urls in AutoTheme "Extras"
You mentioned that it works with the short urls from Xanthia. Do you have now 2 htaccess files in your root?
Because they would disturb each other. -
**unknown user**
- Rank: Registered User
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 22
mazsalleh
There is a Autourls fix in the Autothemes Download Area under Updates.
Do you use this one?
This fix got posted 4 days after the AutoTheme 1.7 Module. So some people maybe forgot to download it, as it is not implemented in the 1.7 version.
What you could try is. Disable shorturls. Delete all htaccess files in your root. Upload again the phtml.htaccess, rename it and activate short urls in AutoTheme "Extras"
You mentioned that it works with the short urls from Xanthia. Do you have now 2 htaccess files in your root?
Because they would disturb each other.
I tried the update when I first encountered the problem. It came out about 3 months before I bought at 1.7. Same problem. No I only have 1 htaccess file at the current time its the xanthia one. -
**unknown user**
- Rank: Registered User
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 22
alarconcepts
How about a URL to look at as well... the status bar often gives clues....
Sorry I should have done this when I first posted.
http://alamogordotigers.net
this is with the xanthia htaccess file which most of the links work except for those called this way /index.php?module=My_eGallery&func=main
with the at htaccess I get the following
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@alamogordotigers.net 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 -
**unknown user**
- Rank: Senior
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 2330
Ok...now we're getting somewhere...
The problem is in the URL. Take this example, which produces an error:
http://alamogordotigers.net/mod-weather-forecast-city-USNM0002.phtml
...the correct URL is this:
http://alamogordotigers.net/module-weather-forecast-city-USNM0002.phtml
...you need to get the updated .htaccess file from here. Note that you must be logged in and have access to the AT 1.7 download area in order to get it. -
**unknown user**
- Rank: Registered User
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 22
Ive tried with the update several times over the past month, the htaccess file is on my site
http://alamogordotigers.net
You will see what I mean, I dont even have short urls enabled in AutoTheme -
**unknown user**
- Rank: Senior
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 2330
-
**unknown user**
- Rank: Registered User
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 22
Appreciate your help at least I know Ive been doing everything I could. Heres a quick view with the update and at enabled http://alamogordotigers.net same problem darn if I can figure out why it works with xanthia and not at htaccess file -
**unknown user**
- Rank: Senior
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 2330
Enable your AutoTheme with phtml short urls, remove all htaccess files (with prefix or not) and post back...
- Moderated by:
- Support
