php - Apache configuration question about uri -


i have question i'm positive i'm missing vocabulary on it.

basically, configuration in apache ignores past uri?

for example:

www.mydomain.com/my-page

www.mydomain.com/this-is-some-page/somepage.html

i want write url, have random text in it, @ same time load whatever page needs loaded.

i'm thinking it's mod_rewrite can't find example ignore things past valid page. i'm thinking it's within php code i'm unsure on too.

thanks help.

yes, mod_rewrite let this, need more define how should determine part of uri matters , part should throw out.

if that's determined files exist on disk may match part of uri, you'll have write php code figure out. is, you'd create rewrite rule send requests php script, looks @ $_server['request_uri'] , compares list of files determine 1 run or redirect to.


Comments

Popular posts from this blog

python - Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000 -

c# - How to add a new treeview at the selected node? -

java - netbeans "Please wait - classpath scanning in progress..." -