UberCMS reDev error?

DiverseLulz

Learning C# :D
Sep 26, 2011
90
9
Hello, I've had a major blank, when I go to register or login I receive a 404 error message, using IIS, and I have imported the .htaccess.. Check it out here >
Ideas anyone?
 

DiverseLulz

Learning C# :D
Sep 26, 2011
90
9
You didn't recieve a complete htaccess, most likely.
I'm using the one included in > Also this is what the error says in localhost/quickregister/start >

Code:
RewriteEngine on
RewriteRule ^(.*)\.html $1\.php
 
RewriteRule ^account/submit(|/)$ /index.php
RewriteRule ^account/logout(|/)$ /logout.php
 
RewriteRule ^quickregister/cancel(|/)$ /register.php?cancal
RewriteRule ^quickregister/complete(|/)$ /me.php
 
RewriteRule ^quickregister/start(|/)$ /register.php?step=1
RewriteRule ^quickregister/age_gate/e/([^/]+)(|/)$ /register.php?step=1&errors=$1
RewriteRule ^quickregister/age_gate_submit(|/)$ /register.php?step=2
RewriteRule ^quickregister/email_password(|/)$ /register.php?step=3
RewriteRule ^quickregister/email_password/e/([^/]+)(|/)$ /register.php?step=3&errors=$1
RewriteRule ^quickregister/email_password_submit(|/)$ /register.php?step=4
 
RewriteRule ^me(|/)$ /me.php
RewriteRule ^home/([^/]+)/id(|/)$ /home.php?userId=$1
RewriteRule ^home/([^/]+)(|/)$ /home.php?username=$1
RewriteRule ^profile(|/)$ /profile.php
 
RewriteRule ^articles/([^/]+)(|/)$ /article.php?id=$1
 
RewriteRule ^habblet/ajax/([^/]+)(|/)$ /habblet.php?cmd=$1
RewriteRule ^myhabbo/([^.]+)(|/)$ /myhabbo.php?cmd=$1
 
RewriteRule ^maintenance(|/)$ /maintenance.php
 
ErrorDocument 400 /error.php
ErrorDocument 401 /error.php
ErrorDocument 403 /error.php
ErrorDocument 404 /error.php
ErrorDocument 500 /error.php

That's my .htaccess, If I go to the links like /register.php?step=1, /register.php?step=2 etc. it works but the rewritten links don't work..
 

DiverseLulz

Learning C# :D
Sep 26, 2011
90
9
Code:
RewriteRule ^quickregister/start(|/)$ /register.php?step=1
RewriteRule ^quickregister/age_gate/e/([^/]+)(|/)$ /register.php?step=1&errors=$1
RewriteRule ^quickregister/age_gate_submit(|/)$ /register.php?step=2
RewriteRule ^quickregister/email_password(|/)$ /register.php?step=3
RewriteRule ^quickregister/email_password/e/([^/]+)(|/)$ /register.php?step=3&errors=$1
RewriteRule ^quickregister/email_password_submit(|/)$ /register.php?step=4

They're the quick register links..
 

DiverseLulz

Learning C# :D
Sep 26, 2011
90
9
If you're using IIS.. it doesn't sound like you've converted it to the 'web.config' format.
I have, This is it
Code:
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
    <system.webServer>
        <rewrite>
            <rules>
                <rule name="Imported Rule 1">
                    <match url="^(.*)\.html" ignoreCase="false" />
                    <action type="Rewrite" url="{R:1}\.php" />
                </rule>
                <rule name="Imported Rule 2">
                    <match url="^account/submit(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="/index.php" />
                </rule>
                <rule name="Imported Rule 3">
                    <match url="^account/logout(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="/logout.php" />
                </rule>
                <rule name="Imported Rule 4">
                    <match url="^quickregister/cancel(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="/register.php?cancal" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 5">
                    <match url="^quickregister/complete(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="/me.php" />
                </rule>
                <rule name="Imported Rule 6">
                    <match url="^quickregister/start(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="/register.php?step=1" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 7">
                    <match url="^quickregister/age_gate/e/([^/]+)(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="/register.php?step=1&amp;errors={R:1}" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 8">
                    <match url="^quickregister/age_gate_submit(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="/register.php?step=2" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 9">
                    <match url="^quickregister/email_password(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="/register.php?step=3" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 10">
                    <match url="^quickregister/email_password/e/([^/]+)(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="/register.php?step=3&amp;errors={R:1}" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 11">
                    <match url="^quickregister/email_password_submit(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="/register.php?step=4" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 12">
                    <match url="^me(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="/me.php" />
                </rule>
                <rule name="Imported Rule 13">
                    <match url="^home/([^/]+)/id(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="/home.php?userId={R:1}" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 14">
                    <match url="^home/([^/]+)(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="/home.php?username={R:1}" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 15">
                    <match url="^profile(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="/profile.php" />
                </rule>
                <rule name="Imported Rule 16">
                    <match url="^articles/([^/]+)(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="/article.php?id={R:1}" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 17">
                    <match url="^habblet/ajax/([^/]+)(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="/habblet.php?cmd={R:1}" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 18">
                    <match url="^myhabbo/([^.]+)(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="/myhabbo.php?cmd={R:1}" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 19">
                    <match url="^maintenance(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="/maintenance.php" />
                </rule>
            </rules>
        </rewrite>
    </system.webServer>
</configuration>
 

Users who are viewing this thread

Top