Welcome Guest, Not a member yet? Register   Sign In
Problems with correct folder access - likely htaccess
#1

[eluser]Unknown[/eluser]
So I have a pretty standard CI install running. I am having trouble though reaching a folder sitting in the root directory of the website. Its actually a folder inside a folder, but I have enabled access to that folder in my htaccess file, which does prevent routing all requests to the index.php file.

So im trying to access /jobs/admin/, where /jobs/ works and runs its own index.php file and does it special little thing (non CI based), but going to website.com/jobs/admin/ brings up the CI 404 page for the base site.


.htaccess file
Code:
<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_URI} ^system.*
    RewriteRule ^(.*)$ /index.php?/$1 [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond $1 !^(index\.php|images|robots\.txt|css|jobs)
    RewriteRule ^(.*)$ index.php?/$1 [L]

</IfModule>

<IfModule !mod_rewrite.c>
    ErrorDocument 404 /index.php
</IfModule>
#2

[eluser]Unknown[/eluser]
I will add on with specific information.

The site is: http://www.studentsherpas.com

I have put up a job board based upon jobberbase software at http://www.studentsherpas.com/jobs/

The admin section is http://www.studentsherpas.com/jobs/admin/

The jobs link currently works, but the admin reverts me to a CI error page, which means that somewhere its trying to hit a CI page that doesn't exist.

My question at this point is that is there a way to see what page on CI its trying to hit. The htaccess for the jobs folder is:

Code:
RewriteEngine on
Options +FollowSymlinks

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

RewriteBase /jobs/
RewriteRule . index.php/ [L]

ErrorDocument 404 /page-unavailable/

and for the admin page:

Code:
RewriteEngine on
Options +FollowSymlinks

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

RewriteBase /jobs/admin/
RewriteRule . index.php/ [L]

ErrorDocument 404 /page-unavailable/




Theme © iAndrew 2016 - Forum software by © MyBB