I've been working on my own cms, but when my vps ended I needed to continue with xampp, and only problem is now that I don't know how to convert web.config to .htaccess :p
here's my web.config:
And here's what we got to .htaccessCode:<?xml version="1.0" encoding="UTF-8"?> <configuration> <system.webServer> <rewrite> <rules> <rule name="First"> <match url="^(|[a-zA-Z0-9_-]+)/([a-zA-Z0-9_-]+)/([a-zA-Z0-9_-]+)/([a-zA-Z0-9_-]+)(|/)$" /> <action type="Rewrite" url="index.php?var1={R:1}&var2={R:2}&var3={R:3}&var4={R:4}" /> </rule> <rule name="Second"> <match url="^(|[a-zA-Z0-9_-]+)/([a-zA-Z0-9_-]+)/([a-zA-Z0-9_-]+)(|/)$" /> <action type="Rewrite" url="index.php?var1={R:1}&var2={R:2}&var3={R:3}" /> </rule> <rule name="Third"> <match url="^(|[a-zA-Z0-9_-]+)/([a-zA-Z0-9_-]+)(|/)$" /> <action type="Rewrite" url="index.php?var1={R:1}&var2={R:2}" /> </rule> <rule name="Fourth"> <match url="^(|[a-zA-Z0-9_-]+)(|/)$" /> <action type="Rewrite" url="index.php?var1={R:1}" /> </rule> </rules> </rewrite> </system.webServer> </configuration>
The index works, but when I go to /register it still shows login page -.- and when I login and goes to /me it says it has a redirect loopCode:# Turn on URL rewriting RewriteEngine On # Installation directory RewriteBase / # Protect hidden files from being viewed <Files .*> Order Deny,Allow Deny From All </Files> # Allow any files or directories that exist to be displayed directly RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d # Rewrite all other URLs to index.php/URL RewriteRule .* index.php/$0 [PT]


Reply With Quote


