Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2015-07-21 06:55:57

raminrahimi
Member
From: India
Registered: 2013-03-19
Posts: 278

Parallels Plesk 12 - htaccess mod_rewrite not works !

One of my client use Plesk 12, it’s OS is Windows based and support PHP+MySQL.
PHP version: 5.5.26
just with Permanent link mode ?=messy works fine,
it looks IIS not support .htaccess
any one plz help
thanks

Offline

#2 2015-07-21 14:43:10

wet
Developer Emeritus
From: Schoerfling, Austria
Registered: 2005-06-06
Posts: 3,330
Website Mastodon

Re: Parallels Plesk 12 - htaccess mod_rewrite not works !

IIS does not support .htaccess or mod_rewrite. These are Apache technologies.

It looks like there’s an equivalent offering from Microsoft called URL Rewrite.

Textpattern probably works on any web server that supports PHP. It is reported to work well on IIS and Lighttpd. Clean URLs are possible on those systems, with the right configuration, but are not officially supported. Textpattern’s system requirements

Offline

#3 2015-07-22 06:42:19

raminrahimi
Member
From: India
Registered: 2013-03-19
Posts: 278

Re: Parallels Plesk 12 - htaccess mod_rewrite not works !

IIS support web.config
this is the default for wordpress web.config:


<rewrite>
 <rules>
     <rule name="Main Rule" stopProcessing="true">
         <match url=".*" />
         <conditions logicalGrouping="MatchAll">
             <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
             <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
         </conditions>
         <action type="Rewrite" url="index.php/{R:0}" />
     </rule>
 </rules>
</rewrite>

could you plz write the codes of web.config for textpattern

Offline

#4 2015-07-22 07:12:21

makss
Plugin Author
From: Ukraine
Registered: 2008-10-21
Posts: 355
Website

Re: Parallels Plesk 12 - htaccess mod_rewrite not works !

Try that
I can not check it works or not.


aks_cron : Cron inside Textpattern | aks_article : extended article_custom tag
aks_cache : cache for TxP | aks_dragdrop : Drag&Drop categories (article, link, image, file)

Offline

#5 2015-07-26 07:26:40

raminrahimi
Member
From: India
Registered: 2013-03-19
Posts: 278

Re: Parallels Plesk 12 - htaccess mod_rewrite not works !

Thanks makss ! that’s working fine :-)

Offline

Board footer

Powered by FluxBB