Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Tue Oct 06, 2015 6:52 am 
Offline
Newbie

Joined: Tue Oct 06, 2015 6:44 am
Posts: 3
Hello

We have recently launched our website on linode server. The url of the website is http://www.customstitchers.com . The issue is that no link is working except the front page . The same website was working fine on our old server . It seems to be a apache settings issues on linode server . Please guide us how we can fix this asap .


Top
   
PostPosted: Tue Oct 06, 2015 11:06 am 
Offline
Senior Member

Joined: Sat Nov 27, 2010 8:21 pm
Posts: 63
Check your .htaccess

http://www.codeigniter.com/user_guide/general/urls.html


Top
   
PostPosted: Tue Oct 06, 2015 9:11 pm 
Offline
Newbie

Joined: Tue Oct 06, 2015 6:44 am
Posts: 3
This is my .htaccess file , please guide what I need to add or configure to make the site working. Apache mod rewrite is enabled on server.
http://www.customstitchers.com/phpinfo.php

authname "Protected Page"
authtype Basic
authuserfile /var/chroot/home/content/13/10153313/html/.htpasswd
addhandler x-httpd-php5-cgi .php


<Files booklet.php>
require user dpc
</Files>
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /customstitchers/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?/$1 [L]
</IfModule>
<IfModule !mod_rewrite.c>
# If we don't have mod_rewrite installed, all 404's
# can be sent to index.php, and everything works as normal.
# Submitted by: ElliotHaughin
ErrorDocument 404 /
</IfModule>


Top
   
PostPosted: Wed Oct 07, 2015 2:45 am 
Offline
Newbie

Joined: Tue Oct 06, 2015 6:44 am
Posts: 3
A little change in .htaccess file but still no success

RewriteBase /customstitchers/

changed it to

RewriteBase /


Top
   
PostPosted: Mon Nov 09, 2015 4:44 am 
Offline
Newbie

Joined: Mon Nov 09, 2015 4:06 am
Posts: 4
Use the following code in your .htaccess file

RewriteEngine On
RewriteCond %{REQUEST_URI} ^/system.*
RewriteRule ^(.*)$ index.php?/$1 [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.+)$ index.php?/$1 [L]


*links removed by admins*


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group