On Mon, Dec 06, 2004 at 12:57:31PM -0500, Howard Boyd II wrote: > Can someone please help me modify my httpd.conf file to modify incoming > url requests? To access my site, users should enter: > https://www.host.com/directory/file > > I want to configure the httpd.conf file such that if the user enters > https://www.host.com they get the same page as if they entered > https://www.host.com/directory/file
I *think* you want something to the effect of: RewriteEngine On RewriteRule ^/$ http://www.host.dom/directory/file Make sure you load the rewrite_module somewhere in there too. The full docs on mod_rewrite are at: http://httpd.apache.org/docs/mod/mod_rewrite.html Admittedly, it's a pain to decipher; see the quotes at the top of the page :) -- Kevin Otte, N8VNR [EMAIL PROTECTED] http://www.nivex.net/ -=- "Those who cannot remember the past are condemned to repeat it." -- George Santayana "It seems no one reads Santayana anymore." -- Cdr. Susan Ivanova, Babylon 5 -- TriLUG mailing list : http://www.trilug.org/mailman/listinfo/trilug TriLUG Organizational FAQ : http://trilug.org/faq/ TriLUG Member Services FAQ : http://members.trilug.org/services_faq/ TriLUG PGP Keyring : http://trilug.org/~chrish/trilug.asc
