Welcome Guest, Not a member yet? Register   Sign In
No 404 on existing folders
#6

(This post was last modified: 04-15-2015, 11:49 AM by BABYpanda.)

thanks for you answer, I reset everything and came to conclusion it was this line what is causing the issue:

Code:
RewriteCond $1 !^(index\.php|assets|robots\.txt)
RewriteRule ^(.*)$ index.php?/$1 [L]

Any idea how I can still remove index.php for the url but yet receive a forbidden access when browsing to /application for example ?

EDIT: I found out this has something to do with it being a subdomain rather than a subfolder. When I change the config file the way it works it being a subfolder, everything is working perfectly. No weird symbols when visiting an existing folder like application. But when I change it to a subdomain eg test.example.com it seems to throw in weird symbols when visiting test.example.com/application instead of showing a 403 forbidden or anything similar.

I noticed that a trailing slash is being removed when its a subdomain, and not when it is a subfolder.
Reply


Messages In This Thread
No 404 on existing folders - by BABYpanda - 04-12-2015, 06:56 AM
RE: No 404 on existing folders - by CroNiX - 04-12-2015, 07:37 AM
RE: No 404 on existing folders - by BABYpanda - 04-12-2015, 08:41 AM
RE: No 404 on existing folders - by BABYpanda - 04-14-2015, 12:34 PM
RE: No 404 on existing folders - by gadelat - 04-15-2015, 01:02 AM
RE: No 404 on existing folders - by BABYpanda - 04-15-2015, 07:02 AM
RE: No 404 on existing folders - by mwhitney - 04-16-2015, 08:08 AM
RE: No 404 on existing folders - by BABYpanda - 04-16-2015, 09:56 AM
RE: No 404 on existing folders - by mwhitney - 04-17-2015, 12:15 PM
RE: No 404 on existing folders - by BABYpanda - 04-19-2015, 07:25 AM
RE: No 404 on existing folders - by mwhitney - 04-20-2015, 08:11 AM
RE: No 404 on existing folders - by BABYpanda - 04-20-2015, 08:52 AM
RE: No 404 on existing folders - by BABYpanda - 04-23-2015, 09:59 AM
RE: No 404 on existing folders - by mwhitney - 04-23-2015, 12:45 PM
RE: No 404 on existing folders - by BABYpanda - 04-27-2015, 08:48 AM
RE: No 404 on existing folders - by mwhitney - 04-28-2015, 07:54 AM
RE: No 404 on existing folders - by BABYpanda - 04-30-2015, 12:42 PM
RE: No 404 on existing folders - by mwhitney - 05-04-2015, 10:56 AM



Theme © iAndrew 2016 - Forum software by © MyBB