-
- 7 Posts
window server 2003 and XAMPP with iis 6.0 installed.
i was supposed to use my testing server for the prodution one. so far the testing server works just fine locally, but today i tried thousand times to make the testing one online, as my subjest says, it entirely failed.
no matter what i tried, it always gose to XAMPP for Windows page. anybody knows what is wrong with my modifications?
the following things are what i did, accroding to
# If your MODx installation is in a subdirectory, change the following line to match the physical
# path to the "root" of the site as follows:
# RewriteRule ^(.*)$ /path/to/subdirectory/index.php?q=$1 [L,QSA]
because my site was placed at C:\Program Files\xampp\htdocs\mysite\
the modification i made:
RewriteRule ^(.*)$ /mysite/index.php?q=$1 [L,QSA]
RewriteRule ^(.*)$ /htdocs/mysite/index.php?q=$1 [L,QSA]
RewriteRule ^(.*)$ /xampp/htdocs/mysite/index.php?q=$1 [L,QSA]
RewriteRule ^(.*)$ /Program Files/xampp/htdocsmysite/index.php?q=$1 [L,QSA]
nothing works!
please help me even if it is not a complicated question!!!
THX!
-
- 7 Posts
keep waiting!!!
please give a help!!!!!!!!!!!!!!!!!!!!!!!!
RewriteRule ^(.*)$ /mysite/index.php?q=$1 [L,QSA] would be the correct one. There is something else wrong here if that did not work.
I do not know anything about working on a Windows-based server, so I can’t go much further.
You are trying to access
http://whatever.com/mysite? That default page would be
http://whatever.com.
Are you sure that you turned on friendly URLs in the Manager?
Are you sure that you renamed the ht.access to .htaccess?
That’s all I can think of.
That’s an IIS server. Works fine for Apache.