Comments (5)
Thanks for the tip !
I also had to load the rewrite module in apache2:
#> a2enmod rewrite
then add those lines in the file /etc/apache2/sites-available/000-default.conf
:
<Directory "/var/www/html">
AllowOverride All
</Directory>
and restart apache2:
#> systemctl restart apache2
Then I had another Mysql error : No Database selected
So I configured Mysql and CodeIgnite to use the correct database"
#> mysql "yourdatabasename" < 0xsp.sql
And added database details in application/config/database.php
:
$db['default'] = array(
'dsn' => '',
'hostname' => 'localhost',
'username' => 'yourdatabaseuser',
'password' => 'yourdatabasepassword',
'database' => 'yourdatabasename',
'dbdriver' => 'mysqli',
'dbprefix' => '',
'pconnect' => FALSE,
'db_debug' => (ENVIRONMENT !== 'production'),
'cache_on' => FALSE,
'cachedir' => '',
'char_set' => 'utf8',
'dbcollat' => 'utf8_general_ci',
'swap_pre' => '',
'encrypt' => FALSE,
'compress' => FALSE,
'stricton' => FALSE,
'failover' => array(),
'save_queries' => TRUE
);
Hope those information will be useful.
from 0xsp-mongoose.
Hi , make sure to place .htaccess file on web application folder , if not available , make one with this code
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]
from 0xsp-mongoose.
How to write nginx rewrite rules
from 0xsp-mongoose.
How to write nginx rewrite rules
since the web application is made by codeigniter you can check up their solution to do it also . https://www.nginx.com/resources/wiki/start/topics/recipes/codeigniter/
from 0xsp-mongoose.
the newer version supports node js, which is compatible with any operating system.
from 0xsp-mongoose.
Related Issues (6)
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 0xsp-mongoose.