skip to Main Content

.htaccess to pass parameters and remove the page name – Apache

I have the following folder structure in my website: example.com/ reports/ causelist/ final_causelist.php I have a link / URL to the final_causelist.php page is as: http://example.com/reports/causelist/final_causelist.php?wb_sno=23&dated=2020-10-26&j_names=Mr.+ABC I want to access the page like the following: http://example.com/23/2020-10-26/Mr.+ABC For the above, I…

VIEW QUESTION

HTTP response 403. Is the problem with my Apache config or my Python enoding of the URL?

When I access http://my_site.com/api/my_project/submitSearch.php?skills=C+OR+%28C%2B%2B+AND+UML%29 I get an HTTP response of 403. The point being that I am encoding skill=C OR (C++ AND UML) in Python using urllib.parse.quote_plus(). If I use skill=(C++ AND UML), then there is no problem. http://my_site.com/api/my_project/submitSearch.php?skills=%28C%2B%2B+AND+UML%29 I…

VIEW QUESTION
Back To Top
Search