Welcome Guest, Not a member yet? Register   Sign In
Htaccess that is not working...
#1

[eluser]Rubiz'[/eluser]
Hello all!

I'm trying to have access to this page http://sandbox.neoreader.com.br/google25...4b586.html since 10am; now is 4:20pm and no results... how can I show my page successfuly?

My htaccess that is not working:

Code:
<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_URI} !^/google254b42e34114b586.html*$
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*)$ codeigniter/index.php/$1 [L]
</IfModule>
#2

[eluser]Rey Philip Regis[/eluser]
Create a .htaccess file same heirarchy with the system.

Then place this 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]


Edit the config.php and look for the $config['index_page'] and leave it blank.

Good day.
#3

[eluser]Rubiz'[/eluser]
It's right like that?
Code:
<IfModule mod_rewrite.c>
    DirectoryIndex index.php
    RewriteEngine on
    RewriteCond $1 !^(index\.php|google254b42e34114b586\.html)
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*)$ ./index.php/$1 [L,QSA]
</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 /index.php
</IfModule>
#4

[eluser]Rubiz'[/eluser]
It doenst work. I have copied/pasted teh code and empty the index config u told...
Nothing works...
#5

[eluser]Rey Philip Regis[/eluser]
Hey sorry for the late reply, I slept for 2 hrs hehe....By the way is your CI running when you when you run http://your_host/application_name/index....oller_name

When it is running we'll move on to step 2.
#6

[eluser]narkaT[/eluser]
RewriteBase is very usefull if your CI-installation is in a subdirectory.
is your apache configured to accept the .htaccess?

basically you should find any information about solving the problem on this page Wink
#7

[eluser]Rubiz'[/eluser]
Thank you guys, my app starts with appfolder (called neoreader), than it has a folder called codeigniter where the system folder is installed. It has access to htaccess, but it was made by other programmer that wrote the first htaccess too.

I have solved the problem other way, now Google is veryfing my page.

Now, lets wonder next app steps wont be difficult :-P

Thanx!




Theme © iAndrew 2016 - Forum software by © MyBB