Sigh. This line: RewriteCond %{REQUEST_FILENAME} -D Should have been: RewriteCond %{REQUEST_FILENAME} -d.
I don't know about your approach. I would try something like RewriteRule ^/(\S+)/? $ /myphp.
Php? Url=$1 I've used this for rewriting before and it works: RewriteEngine on RewriteCond %{HTTP_HOST} ^domain\. Com RewriteRule ^(.*)$ domain.com$1 RewriteRule ^/(\S+)/?
$ /myphp. Php? Url=$1 Note that I didn't include the trailing slash in the first rule.
Also, I would advice you not to rely on . Htaccess unless absolutely necessary. This is because the server will check for .
Htaccess files constantly. Using the httpd. Conf file instead means apache will only load conditions and rules once.
At least I was adviced to do so because of this.
You are right, that should have been a *, not a?. Fixed that on the question. I tried using your suggestion, but have the same effect.To be clear in the version in my question and in the version, the redirect is going to the correct place.
The problem is the text displayed by the browser. I don't want the user to see the query string. I just want them to see the path to the directory, with a trailing slash.
– bkit Jun 29 '10 at 18:25 Did you try adding the code only in the httpd. Conf file instead of the . Htaccess file?
You can save it in a separate httpd-extra. Conf file and then use the include command at the end of your httpd. Conf file.
I used this code to achieve exactly what you want, so that I could provide more user friendly urls. The last line should provide that: rewrites (internally) /path as /myphp. Php?
Url=path, so your browser only displays the first. Hope that helps. – misterte Jun 29 '10 at 18:41.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.