PEAK XOOPS - Re: Testing /modules/ changer in englishin japanese

Re: Testing /modules/ changer

Target News
Subject /modules/ changerのテスト中
Summary Simplified URL をいろいろ試しましたが、どうしても副作用を消しきれない、というのが正直なところです。というわけで、もっとずっとお手軽な「modules を好きな文字列に変更する」てなHackを試してます。パスの深さという、非常に面倒な問題は変わらないので、副作用も...

List posts in the topic

normal Re: Testing /modules/ changer

msg# 1.1
depth:
1
Previous post - Next post | Parent - Children.1 .2 | Posted on 2005/7/3 18:22
nobunobu  上等兵   Posts: 25
書換部分を少し修正して、かなりXOOPSらしくない形にまで持ってくる事が出来ました。
もう少しテストしてから公開しますけど、
	$GLOBALS['_rewriteRulesFrom'] = array(
		'/whatsnew/',
		'/info/profile.html',
		'/info/works.html',
		'/info/lesson.html',
		'/topics/index.html',
		'/info/',
		'/diary/',
		'/contents/',
		'/gallery/',
		'/contact_form1.html',
		'/main.css',
		'/include/main.js',
	);
	$GLOBALS['_rewriteRulesTo'] = array(
		'/modules/news/',
		'/modules/tinycontent/pages/tc_2.html',
		'/modules/tinycontent/pages/tc_3.html',
		'/modules/tinycontent/pages/tc_1.html',
		'/modules/tinycontent/pages/tc_15.html',
		'/modules/tinycontent/',
		'/modules/wordpress/',
		'/modules/pukiwiki/',
		'/modules/myalbum/',
		'/modules/formmail/?id_form=1',
		'/xoops.css',
		'/include/xoops.js',
	);
てな置き換え定義をして、それに対応した.htaccsssを準備した結果として、
Zuisen Webの様に変換する事が出来ました。
Votes:7 Average:5.71

Posts tree

  Advanced search


Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!