Revcms-IIS

Status
Not open for further replies.

toniclight

Member
Jan 6, 2013
44
0
Hello i have made an habbo retro on iis and i followed a tut but i get

MySQL Engine - RevCMS:
MySQL could not connect to host
What do i do because i have set everything correct
Add my skype - uniqfear
 

toniclight

Member
Jan 6, 2013
44
0
Because the person said that i have to make a new file with notepad
Why did you delete .htaccses?
Because the person said deleat .htaccses then make a new file in notepad++ then put some code in and save it as web.config but when i saved it as that i had a weird error then i put htaccses back now i have a cant connect to host error
 

Steffenftw

New Member
May 16, 2012
17
1
i have fixed it but i wont direct me to

Most likely because your web.config isn't configurated correctly.
Here's mine (also RevCMS):
Code:
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
    <system.webServer>
        <rewrite>
  <rules>
    <rule name="Imported Rule 1">
      <match url="^(|/)$" ignoreCase="false" />
      <action type="Rewrite" url="index.php?url={R:1}" appendQueryString="false" />
    </rule>
    <rule name="Imported Rule 2">
      <match url="^([a-zA-Z0-9_-]+)(|/)$" ignoreCase="false" />
      <action type="Rewrite" url="index.php?url={R:1}" appendQueryString="false" />
    </rule>
    <rule name="Imported Rule 3">
      <match url="^(.*)\.htm$" />
      <action type="Rewrite" url="{R:1}.php" />
    </rule>
    <rule name="Imported Rule 4">
      <match url="^(|/)$" ignoreCase="false" />
      <action type="Rewrite" url="dash.php?page={R:1}" appendQueryString="false" />
    </rule>
    <rule name="Imported Rule 5">
      <match url="^([a-zA-Z0-9_-]+)(|/)$" ignoreCase="false" />
      <action type="Rewrite" url="dash.php?url={R:1}" appendQueryString="false" />
    </rule>
    <rule name="Imported Rule 6">
      <match url="^habbo-imaging/badge/([^/]+)" ignoreCase="false" />
      <action type="Rewrite" url="/habbo-imaging/badge.php?badge={R:1}" appendQueryString="false" />
    </rule>
  </rules>
</rewrite>
    </system.webServer>
</configuration>

Remember to save as "web.config" and NOT "web.config.txt" or something like that.
 

toniclight

Member
Jan 6, 2013
44
0
Most likely because your web.config isn't configurated correctly.
Here's mine (also RevCMS):
Code:
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
    <system.webServer>
        <rewrite>
  <rules>
    <rule name="Imported Rule 1">
      <match url="^(|/)$" ignoreCase="false" />
      <action type="Rewrite" url="index.php?url={R:1}" appendQueryString="false" />
    </rule>
    <rule name="Imported Rule 2">
      <match url="^([a-zA-Z0-9_-]+)(|/)$" ignoreCase="false" />
      <action type="Rewrite" url="index.php?url={R:1}" appendQueryString="false" />
    </rule>
    <rule name="Imported Rule 3">
      <match url="^(.*)\.htm$" />
      <action type="Rewrite" url="{R:1}.php" />
    </rule>
    <rule name="Imported Rule 4">
      <match url="^(|/)$" ignoreCase="false" />
      <action type="Rewrite" url="dash.php?page={R:1}" appendQueryString="false" />
    </rule>
    <rule name="Imported Rule 5">
      <match url="^([a-zA-Z0-9_-]+)(|/)$" ignoreCase="false" />
      <action type="Rewrite" url="dash.php?url={R:1}" appendQueryString="false" />
    </rule>
    <rule name="Imported Rule 6">
      <match url="^habbo-imaging/badge/([^/]+)" ignoreCase="false" />
      <action type="Rewrite" url="/habbo-imaging/badge.php?badge={R:1}" appendQueryString="false" />
    </rule>
  </rules>
</rewrite>
    </system.webServer>
</configuration>

Remember to save as "web.config" and NOT "web.config.txt" or something like that.
Do i get rid of .htaccses
 
Status
Not open for further replies.

Users who are viewing this thread

Top