Welcome,
Guest
.
Please
login
or
register
.
Did you miss your
activation email
?
News:
IOS Hotels
and
IOS Rentals
online booking systems for Elxis CMS.
Home
Help
Login
Register
Elxis CMS Forum
»
Support
»
Installation
»
After installation on localhost the links are broken, only the home page works
« previous
next »
Print
Pages: [
1
]
Author
Topic: After installation on localhost the links are broken, only the home page works (Read 12663 times)
dodo007
Newbie
Posts: 10
After installation on localhost the links are broken, only the home page works
«
on:
May 10, 2013, 21:56:34 »
Hello guys, i'm new to Elxis CMS, i just installed the first site on my localhost with wamp server and i'm having trouble making it work. I installed the site in a subfolder on my localhost like
http://localhost/elxis
and this is the way i can access the home page.
It looks great but when i click all the other links in the navigation I'm redirected to the
http://localhost
because it seams that the links in the navigation are broken.
I'm using the new version of the cms and the .htaccess file is named correctly i think.
Please help me find out where the problem so i can start working on my project.
Thanks.
Logged
xmanhattan
Hero Member
Posts: 1235
If I'm still breathing, I'm doing something!
Re: After installation on localhost the links are broken, only the home page works
«
Reply #1 on:
May 11, 2013, 10:32:48 »
Hello dodo007 and welcome to Elxis,
It sounds like you did not edit the .htaccess file. Open that file and change the line from RewriteBase / to RewriteBase /yoursub/
then save.
Logged
Bournias.net
dodo007
Newbie
Posts: 10
Re: After installation on localhost the links are broken, only the home page works
«
Reply #2 on:
May 11, 2013, 12:10:52 »
Than you it worked perfectly
The problem now is that the back-end administration does not work, i can't create users, i can't login to the administration area. When i tried to create a user it says Your request dropped for security reasons. Please try again., and when i try to log like an administrator it's giving me the wrong password message. I know the password is ok because i made a new user from my database to test if it will work but no success.
the htaccess
##
# Elxis 4.x htaccess file
# Copyright (C) 2006-2012 Elxis.org. All rights reserved.
# License:
http://www.gnu.org/copyleft/gpl.html
GNU/GPL
# Elxis CMS is a Free Software
##
# Uncomment the lines bellow to add support for HTML5 video and audio
# AddType video/ogg .ogm
# AddType video/ogg .ogv
# AddType video/ogg .ogg
# AddType video/webm .webm
# AddType audio/webm .weba
# AddType video/mp4 .mp4
# AddType video/x-m4v .m4v
## Uncomment the following line, if it produces erors, comment it again
# Options -Indexes +FollowSymLinks
#
# mod_rewrite in use
#
RewriteEngine On
# The following line tells the web server where your Elxis installation is located in relation
# to the web server root directory. By default this is set to the www root folder ( RewriteBase / ).
# If you have installed Elxis in a sub-folder then set this path properly.
# For example if your elxis site is accessible via this URL
http://www.example.com/elxis/
# You should set: RewriteBase /elxis/
RewriteBase /elexis/
#
# Rewrite rules for sample multisites appeared as sub-folders of the main site
# RewriteRule ^one/estia/inner.php estia/inner.php [L]
# RewriteRule ^one/inner.php(.*) inner.php [L]
# RewriteRule ^one/(.*) $1
# RewriteRule ^two/estia/inner.php estia/inner.php [L]
# RewriteRule ^two/inner.php(.*) inner.php [L]
# RewriteRule ^two/(.*) $1
#
#RewriteCond %{REQUEST_FILENAME} !-f
#RewriteCond %{REQUEST_FILENAME} !-d
# If you have renamed the administration folder change "estia" to the name you have set.
RewriteRule ^estia/inner.php(.*) estia/inner.php [L]
RewriteRule ^estia/(.*) estia/index.php [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*) index.php
#
## Security rules. Comment them if they cause problems to your site
#
# Block out any script trying to base64_encode crap to send via URL
# This rule is commented because it may cause some Elxis features to not work!
# RewriteCond %{QUERY_STRING} base64_encode.*\(.*\) [OR]
# Block out any script that includes a <script> tag in URL
RewriteCond %{QUERY_STRING} (\<|%3C).*script.*(\>|%3E) [NC,OR]
# Block out any script trying to set a PHP GLOBALS variable via URL
RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
# Block out any script trying to modify a _REQUEST variable via URL
RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})
# Send all blocked request to homepage with 403 Forbidden error!
RewriteRule ^(.*)$ index.php [F,L]
«
Last Edit: May 11, 2013, 12:40:34 by dodo007
»
Logged
webgift
Elxis Team
Hero Member
Posts: 4193
Re: After installation on localhost the links are broken, only the home page works
«
Reply #3 on:
May 11, 2013, 15:00:22 »
Advice: Don't create users manually. Use the administrator area only
Logged
Elxis Team •
Custom web design [EN]
-
[EL]
•
.GR Registrar
dodo007
Newbie
Posts: 10
Re: After installation on localhost the links are broken, only the home page works
«
Reply #4 on:
May 11, 2013, 16:04:32 »
I can't access the admin area that's the problem
Logged
xmanhattan
Hero Member
Posts: 1235
If I'm still breathing, I'm doing something!
Re: After installation on localhost the links are broken, only the home page works
«
Reply #5 on:
May 11, 2013, 17:00:10 »
When you installed Elxis, you were asked to create an administrator login and password. That is what you will use by clicking on the administrator login from the front page menu.
Logged
Bournias.net
dodo007
Newbie
Posts: 10
Re: After installation on localhost the links are broken, only the home page works
«
Reply #6 on:
May 11, 2013, 19:14:00 »
LOL i know that, there is a guide to change the password on the elxis page and i did like there is written i copied the encriptted password into the password field but it still does not work.
Logged
datahell
Elxis Team
Hero Member
Posts: 10356
Re: After installation on localhost the links are broken, only the home page works
«
Reply #7 on:
May 12, 2013, 20:28:29 »
The problem now is that the back-end administration does not work, i can't create users, i can't login to the administration area. When i tried to create a user it says Your request dropped for security reasons. Please try again., and when i try to log like an administrator it's giving me the wrong password message. I know the password is ok because i made a new user from my database to test if it will work but no success.
Can you login from frontend? If yes, your username and password are fine. If no, then you must reset the password. In this case tell me to give you directions on what you must do.
If you can login from frontend but not from backend and you are sure your account is an administrator account allowed to access the backend (make sure you haven't ruined the user settings in database) then the a reason why you can't login is due to session misconfiguration (as you are in a sub-folder - have you configured htaccess properly?). Sessions might not work correctly if the administration path is wrong in htaccess. In your htaccess above you have wrong the rewrite base, did you miss-wrote this on purpose?
RewriteBase
/elexis/
or ?
RewriteBase
/elxis/
Also if you login in frontend when you visit backend does Elxis ask you for both username and password or just to confirm your password?
Have you enabled strict/insane security in Elxis configuration? Is there anything else you might need to tell us about your Elxis installation?
Logged
Elxis Team
|
Is Open Source
|
IOS Rentals | IOS AERO
Print
Pages: [
1
]
« previous
next »
Elxis CMS Forum
»
Support
»
Installation
»
After installation on localhost the links are broken, only the home page works