AnPel

Age: 28

-Gee, Brain, what do you want to do tonight?

-The same thing we do every night, Pinky—try to take over the world!

Jun
9
awarded Popular Question
May
26
comment .htaccess only allow access to index.php and a directory
Works perfectly! Thank you for your time!
May
26
accepted .htaccess only allow access to index.php and a directory
May
26
comment .htaccess only allow access to index.php and a directory
Yes, exactly. I'm sorry if I didn't clarify that
May
26
comment .htaccess only allow access to index.php and a directory
the .htaccess is located in mysite. The index.php file is also in mysite. /mysite/home/ is not an actual directory, it is an example of a clean url, like /mysite/anyUserRequest/secondUserRequestParameter/
May
26
comment .htaccess only allow access to index.php and a directory
That is the case, but I also want to be able to have clean urls, so essentially the url localhost/mysite/home/ is a request to index.php with $_SERVER['REQUEST_URI'] = "/mysite/home". The problem is that even though the request to localhost/mysite/home/ is supposed to be sent to index.php, it is forbidden by the .htaccess
May
26
comment .htaccess only allow access to index.php and a directory
It works fine when I go to localhost/mysite/index.php, but I still get a forbidden when I go to localhost/mysite/home/. Shouldn't it be allowed since it's redirected to index.php?
May
26
comment .htaccess only allow access to index.php and a directory
@anubhava I edited the question to include that too.
May
26
revised .htaccess only allow access to index.php and a directory
added 159 characters in body
May
26
comment .htaccess only allow access to index.php and a directory
This would be my last resort, but I really want to find what is wrong with my .htaccess and make it work with my current file structure
May
25
asked .htaccess only allow access to index.php and a directory
May
25
accepted How to separate gallery from content in wordpress?
May
25
comment How to separate gallery from content in wordpress?
Thank you for your time, I will mark this as accepted since it looks a lot like what I ended up doing
Apr
20
awarded Constituent
Apr
20
awarded Caucus
Mar
20
awarded Curious
Jan
19
awarded Notable Question
Jan
5
awarded Tumbleweed
Dec
29
asked How to separate gallery from content in wordpress?
Dec
28
answered Empty the_content for all posts
1 2 3 4 5