document.writeln('');
基于SiteHub二次開發的開源免費的網址導航系統,擁有獨立前臺和擬態風格的后臺管理中心。
我愛導航系統集合網上優質網站網址導航,支持前臺自主提交收錄、自動獲取TDK與網站Icon與后端審核管理,涵蓋網站收錄和文章發布等。
運行環境 Nginx/Apache、PHP建議7.4、MySQL 5.6+
訪問域名進行安裝操作
Nginx偽靜態:
code
- rewrite ^/index.html$ /index.php last;
rewrite ^/about.html$ /about.php last;
rewrite ^/search.html$ /search.php last;
rewrite ^/ranking.html$ /ranking.php last;
rewrite ^/apply.html$ /apply.php last;
rewrite ^/404.html$ /404.php last;
rewrite ^/category-([1-9]+[0-9]*).html$ /category.php?id=$1 last;
rewrite ^/category-([a-zA-Z]+).html$ /category.php?alias=$1 last;
rewrite ^/site-([1-9]+[0-9]*).html$ /site.php?id=$1 last;
rewrite ^/article.html$ /article.php last;
rewrite ^/article-list-([1-9]+[0-9]*).html$ /article_list.php?id=$1 last;
rewrite ^/article-([1-9]+[0-9]*).html$ /article_show.php?id=$1 last;
rewrite ^/img/favicon/(.*)$ /favicon.php?url=$1 last;
rewrite ^/img/favicon/(.*).png$ /favicon.php?url=$1 last;
rewrite ^/img/preview/(.*).png$ /preview.php?url=$1 last;
location ~ "^/img/favicon/([^/]+)/?.png$" {
try_files /$uri /$uri/ /favicon.php?url=$1;
}
location ~ "^/img/preview/([^/]+)/?.png$" {
try_files /$uri /$uri/ /preview.php?url=$1;
}
Apache偽靜:
code
- RewriteEngine On
- RewriteBase /
- RewriteRule ^index.html index.php [L,NC]
- RewriteRule ^about.html about.php [L,NC]
- RewriteRule ^search.html search.php [L,NC]
- RewriteRule ^ranking.html ranking.php [L,NC]
- RewriteRule ^article.html article.php [L,NC]
- RewriteRule ^apply.html apply.php [L,NC]
- RewriteRule ^404.html 404.php [L,NC]
- RewriteRule ^category-([0-9]+).html category.php?id=$1 [L,NC]
- RewriteRule ^category-([a-zA-Z]+).html category.php?alias=$1 [L,NC]
- RewriteRule ^site-([0-9]+).html site.php?id=$1 [L,NC]
- RewriteRule ^article-list-([0-9]+).html article_list.php?id=$1 [L,NC]
- RewriteRule ^article-([0-9]+).html article_show.php?id=$1 [L,NC]
- RewriteRule ^img/favicon/(.*)\.png$ favicon.php?url=$1 [L,NC]
- RewriteRule ^img/preview/(.*)\.png$ preview.php?url=$1 [L,NC]





