stephanediondev / readerself

Replaced by a new version
https://github.com/stephanediondev/feed
Other
158 stars 26 forks source link

Register folder not found #11

Closed userx8 closed 10 years ago

userx8 commented 10 years ago

Hi and thanks for this app,

I've got a problem just after when i configure the ./application/config/readerself-config.php & ./application/config/database.php.

When i launch readerself in my browser, he want to go in /readerself-master/register/ but it doesn't exist.

I'd try to install it on a Nginx web serveur and MySQL database. All repertories are in 775 rules and files 664. All rep/files are in nginx group. My mysql user has already been created with all rights on his database (wich created too).

Step by step : 1 / i put all files in a 'readerself-master' directory in my web root 2 / i change all rights/group for nginx 3 / i edit database.php => $db['default']['dbdriver'] = 'mysql'; and good username/password/database 4 / i edit readerself-config.php => just a salt 5 / i put all content INSTALL.sql in my MySQL database already created. 6 / i lauch my /readerself/ on a browser => 404 not found /readerself/register

I tried to see why, or just create a register folder (you never know...) but nothing.

Any ideas ? Thanks you.

stephanediondev commented 10 years ago

I forgot something in the installation notice, sorry You need Codeigniter rewrite rules

It's done for Apache (.htaccess) and IIS (web.config)

I have to find rules for nginx

It's like this for Apache

exclude real file

RewriteCond %{REQUEST_FILENAME} !-f

exclude real directory

RewriteCond %{REQUEST_FILENAME} !-d

send query to index.php

RewriteRule ^(.*)$ index.php?$1

I will test @home to find the good rules

stephanediondev commented 10 years ago

You can look at this page http://wiki.nginx.org/Codeigniter

(I tried but I don't know well nginx)