Forum

PHPC Framework

dagmatritsa
23 December 2010, 19:38
Hi!
Can u help me?
I`m using PHPC Framework (www.phpc.ru).

.htaccess

Options -Indexes +FollowSymLinks
RewriteEngine On

#RewriteCond %{REQUEST_URI} !^/admin/$
#RewriteCond %{REQUEST_URI} !^/member/$
#RewriteRule ^([^.]*[^./])/$ /$1 [L,R]

RewriteRule ^admin$ /admin/ [L,R]
RewriteRule ^member$ /member/ [L,R]
RewriteRule ^([^.]*[^./])?$ /phpc/index.php [L]

Pls help me write UrlToolkit.

With Best regards.
Hiawatha version: 7.4
Operating System: XP SP3
Hugo Leisink
24 December 2010, 09:03
It will be something like this:
UrlToolkit {
ToolkitID = phpc
Match ^/admin$ Rewrite /admin/
Match ^/member$ Rewrite /member/
Match ^/([^.]*[^./])?$ Rewrite /phpc/index.php
}
dagmatritsa
24 December 2010, 10:52
Thank You very much!
It's work!
Great support.

configuration my VDS:
1. FreeBSD 8.1 (minimal)
2. Hiathawa 7.4 - fast, small, secure webserver
3. PHPC - fast, smal, secure framework
4. MySQL(minimal)
Good luck.
With Best regards
This topic has been closed.