Comments (4)
Currently, the application is only set up to run on apache web servers. If you create a file called 'web.config' in the main folder of the website with the following code (or just add the <rewrite>...<rewrite>
section to the existing web.config), it should allow IIS to work the same. I just used this for an install on IIS, and I'll add it to the project after I test it a bit more.
web.config
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<rewrite>
<rules>
<rule name="Rewrite to index.php">
<match url="index.php|robots.txt|images|test.php" />
<action type="None" />
</rule>
<rule name="Rewrite CI Index">
<match url=".*" />
<conditions>
<add input="{REQUEST_FILENAME}" pattern="^.+\.(css|js|jpg|jpeg|png|gif|ico|htm|html|eot|woff|ttf|svg|txt)$" negate="true" />
</conditions>
<action type="Rewrite" url="index.php/{R:0}" />
</rule>
</rules>
</rewrite>
</system.webServer>
</configuration>
http://stackoverflow.com/questions/5408111/codeigniter-2-on-iis-with-web-config-file
from phpback.
Thanks, is Working now, but I have other issue, I don't have any entries on the Database the users table is empty, i cannot login on the admin or the regular users page.
from phpback.
If you have a newer version of MySQL, this is probably the same issue as #48. For now, you can disable strict mode on the database:
"my.ini" file inside MySQL installation directory
# Set the SQL mode to strict
sql-mode="STRICT_TRANS_TABLES,NO_ENGINE_SUBSTITUTION"
Replace with:
sql-mode="NO_ENGINE_SUBSTITUTION"
After you restart the database with STRICT_TRANS_TABLES disabled, I recommend deleting the phpback database and the website directory, then start a clean install.
from phpback.
Perfect!, Its working, Thanks a lot!
from phpback.
Related Issues (20)
- recaptcha v1 is shutdown
- Cannot be installed on a subdomain? HOT 4
- PHPBack is dead? HOT 2
- active directory to authenticate HOT 2
- Error 404 Install2 not found HOT 2
- Server connection error (1045) HOT 1
- Cache Issue HOT 1
- DB Connections Issues After Updating CSS Files HOT 2
- Upgrade Failed HOT 5
- Localization for Email Notifications of New Idea HOT 2
- phpback 1.3.2 / RHEL 7 / subdirectories and application views 404 HOT 3
- Obsolete recpatcha prevent to register HOT 5
- Hello, is PHPback LDAP enabled ? HOT 1
- Too long title pushes other items out of the browser screen HOT 3
- Can enter over 100 chars title HOT 3
- phpback is not available on cloudron store HOT 3
- Remove tests/vendor
- idea: Restrict users to categories and site
- font install 2 step
- Increase the usage of expressions with combined operators
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from phpback.