Welcome Guest, Not a member yet? Register   Sign In
[SOLVED]Error 404 - Xampp in windows 7
#1

[eluser]Thiago Leao[/eluser]
Hi guys, I have a problem.
I'm not able to work offline.
Only my home appears, all other pages are giving 404 error...

The pages are displayed if I put index.php?/ Before the links.
Has anyone had this problem?

thanks friends!
#2

[eluser]CroNiX[/eluser]
Sounds like you are using an htaccess to remove index.php from the url but don't have mod_rewrite enabled on your server.
#3

[eluser]Thiago Leao[/eluser]
With htacess was not working offline.
The mod_rewrite is enabled!!!

Code:
LoadModule rewrite_module modules/mod_rewrite.so

thanks!
#4

[eluser]CroNiX[/eluser]
post your htaccess
#5

[eluser]Thiago Leao[/eluser]
RewriteEngine On
RewriteBase /

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule ^(.*)$ /index.php?/$1 [L]

php_value allow_url_fopen on
php_value allow_url_include 1
#6

[eluser]Thiago Leao[/eluser]
Hi friend, I wait your help!
Thanks!
#7

[eluser]InsiteFX[/eluser]
Code:
# Un-Comment to Generate a server 500 error to make sure .htaccess file is working!

AddHandler application/x-httpd-php53 .php

php_value default_charset utf-8
php_value allow_url_fopen on
php_value allow_url_include 1

Options FollowSymLinks
DirectoryIndex index.php

RewriteEngine On
#RewriteBase /app_directory/

#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 $1 !^(index\.php|assets|css|js|images|img|robots\.txt|favicon\.ico)
RewriteRule ^(.*)$ index.php/$1 [L,QSA]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
    
RewriteRule ^(.*)$ index.php/$1 [L,QSA]
#8

[eluser]Thiago Leao[/eluser]
remains the same!!

Code:
Object Not found!

Error 404
localhost
04/24/12 12:35:27
Apache/2.2.21 (Win32) mod_ssl/2.2.21 OpenSSL/1.0.0e PHP/5.3.8
#9

[eluser]Thiago Leao[/eluser]
someone? I need very!!!
thanks friends!
#10

[eluser]Thiago Leao[/eluser]
resolved!!!
thanks

Code:
DirectoryIndex index.php
RewriteEngine on
RewriteCond $1 !^(index\.php|images|css|js|robots\.txt|favicon\.ico)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ ./index.php/$1 [L,QSA]




Theme © iAndrew 2016 - Forum software by © MyBB