mod_rewrite Lesson - How To Make It Work mod_rewrite�Ľ�ѵ-���ʹ����
I learnt a hard lesson today on mod_rewrite.��ѧ��һ��ʹ�Ľ�ѵ�������mod_rewrite �� I haven't had time to explore further to find the root cause.��û��ʱ��ȥ��һ��̽���ҵ��ĸ�Դ�� I present it as it is in the hope that it will help someone like me to solve their strange mod_rewrite problems.���ύ����Ϊ������ϣ���⽫��������������һ�������ǵ���ֵ�mod_rewrite���⡣
I created a new website on a new domain which is hosted on the same server.�Ҵ�����һ���µ���վ��һ����������������ͬһ̨�������ϡ� I chose a directory not under document root.��ѡ����һ��Ŀ¼û���ļ���Ŀ¼�¡� mod_rewrite wasn't working despite my best effort to do everything under Sun. mod_rewriteû�й�������Ȼ�Ҿ����Ŭ������һ�����
The solution was to move it to a directory under document root.����İ취�ǽ����Ƶ�һ��Ŀ¼�£��ļ���Ŀ¼�� That's it.�������� A httpd restart and I am back in business.һ��httpd�����������һ���ҵ���ϡ� I would be grateful if someone can demystify the solution to me.�ҽ���ʤ�м���������˿������صĽ���������ҡ�
Filed under������ How To��� , �� Open Source Software����Դ����� , �� Tech Note����˵�� , �� Web��ҳ , �� Web Hosting�������� , �� Web Services Web���� | |
| |
RSS 2.0 2.0 | |
Trackback Trackback���� this Article |������|
Email this Article�����ʼ�������
You may also like to read��Ҳ������� |



































