Welcome Guest, Not a member yet? Register   Sign In
reserved keywords for subdirectory name
#1

[eluser]searain[/eluser]
I named a subdirectory 'json', it doesn't work, give me page not found error. I renamed it as 'json1', still get page not found error.

But after I renamed it as 'data_out', then it works.

Where I can find the reserved keywords list for naming the subdirectory?

Thanks!
#2

[eluser]rogierb[/eluser]
You can find this in the almighty user guide... Where else:-)

But json is not a reserved name as far as I know
#3

[eluser]searain[/eluser]
I checked manual and cannot find json is a reserved keyword.

But I cannot use json as my folder name or file name.

Not just for codeigniter, but for traditional php, I cannot use json as file name in traditional php too (but I can use json as folder name in traditional php).

Any advices? Does it have something to do with the hosting set up?

Thanks!
#4

[eluser]searain[/eluser]
Code:
RewriteEngine on
RewriteCond $1 !^(index\.php|images|captcha|css|js|robots\.txt)
RewriteRule ^(.*)$ /index.php/$1 [L]

OK it is the .thaccess url rewrite issue.

I guess my rewritecond for |js| also covers the name 'json'.




Theme © iAndrew 2016 - Forum software by © MyBB