Welcome Guest, Not a member yet? Register   Sign In
Pagination is not working on ubuntu 8.04
#1

[eluser]Yogesh[/eluser]
Hi all,
I am using codeigniter 1.7
I have problem of setting project in Ubuntu 8.04
Pagination is not working on ubnutu 8.04
when I click to pagniation link it gives 404 page not found error as given below

Not Found
The requested URL /springboard/users/index/20 was not found on this server.

is this because of any .htaccess problem
my .htaccess code

Code:
RewriteEngine on

RewriteCond $1 !^(index\.php|images|css|js|uploads|robots\.txt)

RewriteRule ^(.*)$ index.php/$1 [L]
rewrite module is on
This is working on windows machine
Please help me out
Thanks in advanced

Thank you and
regards,
yogesh
#2

[eluser]tomcode[/eluser]
Maybe You have to set the RewriteBase
#3

[eluser]Yogesh[/eluser]
Hi all
Guys I got the solution
Now i have set the pagination link as the index.php/controller/function_name
I am not sure this is right way or wrong because my coding is working in Windows platform perfectly
but get run this on ubuntu I made this changes. May in Ubuntu my .htacess is not working on may be rewrite_module is not working.

and this is working in Ubuntu8.04
#4

[eluser]tomcode[/eluser]
Well, I don't know Ubuntu, but You can run a script
Code:
<?php
phpinfo();

To know which Apache You're running and whether You have rewrite enabled.

If not, You need to change Your apache config file, it should be called httpd.conf

inside httpd.conf find the line
Code:
#LoadModule rewrite_module modules/mod_rewrite.so

to enable rewriting, uncomment it
Code:
LoadModule rewrite_module modules/mod_rewrite.so




Theme © iAndrew 2016 - Forum software by © MyBB