Open walle303 opened 11 years ago
What's your configuration file look like? And is it running from the root web directory?
It is not running from the root Its in /ikariam Should i edit the config? i only used the installer
@walle303 you edited wrong the .htaccess file.
I never edited an .htaccess file
You put the .htaccess info when you run the install
Let me re install it, Currently i don't have the files on my server Files are copying now If it makes any difference i'm self hosting it on an Ubuntu 12.10 server
If it runs PHP and MySQL I think no problem
I have done an install, After signing up it still redirects to Ikariam/game/ What .htcaccess file do i edit
This is my current file
<IfModule !mod_rewrite.c>
# Without mod_rewrite, route 404's to the front controller
ErrorDocument 404 /index.php
Here is the 404 Not Found
The requested URL /Ikariam/game was not found on this server.
Apache/2.2.22 (Ubuntu) Server at localhost Port 80
You are installing it on a subdomain, a subfolder or root?
Subfolder
Then try to edit this: RewriteBase / To: RewriteBase /yoursubfolder
Done, Still redirects to that folder Should i restart Apache2? EDIT: Restarted, No effect
Still don't working?
Should i put a trailing slash?
Oh sorry!!! Yes!: RewriteBase /yoursubfolder/
Didnt work, Im going to try doing a reinstall
Didnt work I can sign up then it redirects And i get the sign up email
Try this "new" version: https://github.com/NewOpportunity/Nuria
PD: That's my .htaccess file full working
# Project: Nuria
# File: .htaccess & install/include/htaccess.tpl & install/include/htaccess.php
# Edited: 30/09/2012
# By: Ink2Inv
# Info: izariam@gmail.com
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /nuria/
## Canonicalize codeigniter URLs
RewriteRule ^(default_controller(/index)?|index(\.php)?)/?$ / [L,R=301]
RewriteRule ^(.*)/index/?$ $1 [L,R=301]
# Removes trailing slashes (prevents SEO duplicate content issues)
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.+)/$ $1 [L,R=301]
# Enforce www
# If you have subdomains, you can add them to the list using the "|" (OR) regex operator
#RewriteCond %{HTTP_HOST} !^(www|sub1|sub2|sub3|beta|izariam) [NC]
#RewriteRule ^(.*)$ http://localhost/$1 [L,R=301]
# Enforce NO www
#RewriteCond %{HTTP_HOST} ^www [NC]
#RewriteRule ^(.*)$ http://localhost/$1 [L,R=301]
# 'system' can be replaced if you have renamed your system folder.
RewriteCond %{REQUEST_URI} ^system.*
RewriteRule ^(.*)$ /index.php/$1 [L]
# Checks to see if the user is attempting to access a valid file, such as an image or css document, if this isn't true it sends the request to index.php
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]
</IfModule>
<IfModule !mod_rewrite.c>
# Without mod_rewrite, route 404's to the front controller
ErrorDocument 404 /index.php
</IfModule>
I have already tried the new version, It has a different issue I have posted there aswell
Maybe I can revise it other day, not now. Sorry.
Ok
Things i have done so far... Edited .htaccess file Chmod the entire folder to 777 Chown the entire folder to www-data Moved files around and renamed them Reinstalled many times
The folder ikariam/game does not exist/has not been created. Is there any way to fix this issue? When encountering a server error like non existing account it gives me another page that doesn't exist ikariam/main/error