htaccess file not working right - any hints?
Posted by: davidking (207.160.168.---)
Date: February 10, 2006 09:18PM

My phpinfo.php page works great, but not the testing.php thing!

here’s what I have:

httpd.conf file:

NameVirtualHost 127.0.0.1

# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost container.
# The first VirtualHost section is used for requests without a known
# server name.

DocumentRoot “C:\wamp\www”
ServerName localhost

DocumentRoot “C:\wamp\www\testing.com”
ServerName local.testing.com
ErrorLog logs/testing_error.log

.htaccess file:

RewriteEngine on
RewriteRule ^test\.php$ phpinfo.php

This works - [local.testing.com]

This doesn’t - [local.testing.com]

Any hints? Please?

Options: ReplyQuote
Re: htaccess file not working right - any hints?
Posted by: Robert (---.eburwd3.vic.optusnet.com.au)
Date: February 11, 2006 08:52AM

Thanks CyberSpatium!

I always wanted to know how to do that.
I spent too long in Linux.

Cheers

Options: ReplyQuote
Re: htaccess file not working right - any hints?
Posted by: CyberSpatium (---.hsd1.or.comcast.net)
Date: February 11, 2006 10:32PM

no prob, glad it worked

Options: ReplyQuote


Sorry, only registered users may post in this forum.