httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joshua Slive" <jos...@slive.ca>
Subject Re: [users@httpd] mod_rewrite
Date Thu, 24 May 2007 16:41:18 GMT
On 5/24/07, Diar Gashi <diar_gashi@yahoo.com> wrote:
>
> Joshua, the link you provided still does not open up for me.

Uhg. That wasn't a URL to open. That was an example of a directive to
achieve what you want. To be more explicit, place the following in
httpd.conf:
ErrorDocument 404 http://example.com/notfound.html
where you need to replace http://example.com/notfound.html with the
absolute URL to your error document.

> Also, for the
> second part, I tried using rewriterule instead of redirect, and still
> getting the same thing - when I type http://DOMAINNAME/x10 the url shows
> http://DOMAINNAME/landing/index.jsp?wfId=685
> , but what I want it to show is http://DOMAINNAME/x10.

Show us EXACTLY what you tried, along with relevant log excerpts. In
particular, you need to use the RewriteLog to debug mod_rewrite
problems.

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message