PDA

View Full Version : IIS server - .htaccess - mamp = promlems


rickyspires
01-31-2009, 01:38 PM
hello.

i have followed the install mamp & dreamweaver tutorial and it works which is grate. the problm is Apache by default will only look in the root directory (www/eventtrafik/index.php) for an index.php file. my current website is set up on an IIS server so the default route has been set as eventtrafik/wwwroot/index.php. i looked at guide (http://www.askapache.com/htaccess/apache-htaccess.html) to familiarize myself with the .htaccess files but im a total beginner.

could anyone help please :)

my .htaccess file looks like this at the moment:

php_value include_path ".: D :\\Domains\\eventtrafik.com\\wwwroot\\include\ \"

php_value upload_max_filesize 20M
php_value max_execution_time 7200
php_value max_input_time 3600
php_value memory_limit 128M
php_value post_max_size 24M

php_value display_errors On
php_value display_startup_errors On
php_value error_reporting E_ALL

RewriteEngine on





thankyou
ricky

davidj
01-31-2009, 03:08 PM
you need to setup an alias

check the alias setion inthe httpd.conf

rickyspires
01-31-2009, 03:44 PM
hello.

thanks for your reply.

i have..

its set like this:

documents / web / mamp / eventrafik / wwwroot

documents / web / mamp /htdocs / eventrafik / wwwroot

documents / web / mamp /htdocs alias / eventrafik / wwwroot



thanks
rick