| Author |
Message |
tika
Nuke Cadet


Joined: Sep 26, 2003
Posts: 5
|
Posted:
Fri Sep 26, 2003 12:27 am |
  |
Hello,
after 2 days of testing and reading this and other forums - some Problems still exists.
HTML Link will created but they didn't work.
When i used some of the examples here > error 500
Had someone a example wich work with simple (not modyfied) nuke 6.7 ?
header/.htacess
This is for testing purposed....and learn how it works
Thanx for help
ti |
Last edited by tika on Fri Sep 26, 2003 10:46 am; edited 1 time in total |
|
   |
 |
Zhen-Xjell
Nuke Cops Founder


Joined: Nov 14, 2002
Posts: 5939
|
Posted:
Fri Sep 26, 2003 4:24 am |
  |
Hi'ya do you have mod_rewrite enabled? Also, does your httpd.conf file AllowOverrides set to "All" for your directory path such that .htaccess can be used? |
_________________ Paul Laudanski, Microsoft MVP Windows-Security
CastleCops: [de] [en] [wiki] |
|
     |
 |
tika
Nuke Cadet


Joined: Sep 26, 2003
Posts: 5
|
Posted:
Fri Sep 26, 2003 9:56 am |
  |
Yes - my Provider says mod_rewrite ist on. follow links also.
He means that normaly other users have no Problems - so its up to me...and i have finaly no idea how to make it work.....
Did you have any way to show me whats possible wrong?
tim |
|
|
   |
 |
mikem
Theme Guru


Joined: Jan 13, 2003
Posts: 1582
Location: Corn fields of Indiana
|
Posted:
Fri Sep 26, 2003 10:06 am |
  |
We are going to need more info and also we need you to change the title of your topic to better help others help you.
"Little Problems" is not an appropriate title, wouldn't you agree?
Leaves to many questions. Heck little problems could mean ANYTHING.
thanks
mikem |
_________________ Getting Started | My Projects |
|
   |
 |
tika
Nuke Cadet


Joined: Sep 26, 2003
Posts: 5
|
Posted:
Fri Sep 26, 2003 10:33 am |
  |
ok - little Problems in the google tap forum means little prolem with this feature.
ok - Get error 500 with mod_rewrite -
Provider give all features i need ("everything on")
Skript is the same as post in google tap for example |
|
|
   |
 |
Zhen-Xjell
Nuke Cops Founder


Joined: Nov 14, 2002
Posts: 5939
|
Posted:
Fri Sep 26, 2003 3:25 pm |
  |
Hi its not follow links I asked about. I want to know if allowoverrides is set to "all" for your location. |
_________________ Paul Laudanski, Microsoft MVP Windows-Security
CastleCops: [de] [en] [wiki] |
|
     |
 |
tika
Nuke Cadet


Joined: Sep 26, 2003
Posts: 5
|
Posted:
Sun Sep 28, 2003 12:28 pm |
  |
No no .. the Problem is my Skript. From Provider side every thing is fine.
for example - this doesn't work:
| Quote: |
DirectoryIndex index.php
Options +FollowSymlinks
RewriteEngine On
RewriteRule /index.html /index.php
#Articles
RewriteRule ^article-([0-9]*)-([a-z]*)-([0-9]*)-([0-9]*).html article.html$1&mode=$2("der=$3&thold=$4
RewriteRule ^article([1-9][0-9]*).* article.html$1
RewriteRule ^article-topic-([0-9]*).html modules.php?name=News`"w_topic=$1
#Community
#RewriteRule ^community/(goto|show)/(cid|id)/([0-9]+).html modules.php?name=Community&op=$1&$2=$3
#RewriteRule ^community.html modules.php?name=Community
#Content
RewriteRule ^contentid-([1-9][0-9]*).html modules.php?name=Content&pa=showpageŔd=$1
RewriteRule ^content-cat-([1-9][0-9]*).html content-cat-.html$1
#FAQ
RewriteRule ^faq.html faq.html
RewriteRule ^faq-([0-9]*)-([a-zA-Z0-9+]*).html faq.html&myfaq=yes&id_cat=$1&categories=$2 |
and
| Quote: |
function replace_for_mod_rewrite(&$s) {
$urlin = array(
"'(?<!/)modules.php\?name=News&file=article&sid=([0-9]*)&mode=([a-z]*)&order=([0-9]*)&thold=([0-9]*)'",
"'(?<!/)modules.php\?name=News&file=article&sid=([0-9]*)'",
"'(?<!/)modules.php\?name=News&file=article&sid=([0-9]*)'",
"'(?<!/)modules.php\?name=News&new_topic=([0-9]*)'",
"'(?<!/)modules.php\?name=Stories_Archive&sa=show_month&year=([0-9]*)&month=([0-9]*)&month_l=([a-zA-Z]*)'",
"'(?<!/)modules.php\?name=Stories_Archive'",
"'(?<!/)modules.php\?name=Downloads&d_op=getit&lid=([0-9]*)'",
"'(?<!/)modules.php\?name=Downloads&d_op=viewdownload&cid=([0-9]*)&min=([0-9]*)&orderby=titleA&show=([0-9]*)'",
"'(?<!/)modules.php\?name=Downloads&d_op=viewdownload&cid=([0-9]*)'",
"'(?<!/)modules.php\?name=Downloads&d_op=viewdownloaddetails&lid=([0-9]*)&ttitle=([/:\-\'(){}.&=a-zA-Z0-9_ ]*)'",[/quote]
$urlout = array(
"article-\\1-\\2-\\3-\\4.html",
"article\\1.html",
"article\\1.html",
"article-topic-\\1.html",
"archive-\\1-\\2-\\3.html",
"archive.html",
"downloads-file-\\1.html",
"downloads-cats-\\1-\\2-\\3.html",
"downloads-cat-\\1.html",
"downloads-file-\\1-details-\\2.html",
"downloads.html\"", |
Any idea? |
|
|
   |
 |
Zhen-Xjell
Nuke Cops Founder


Joined: Nov 14, 2002
Posts: 5939
|
Posted:
Sun Sep 28, 2003 2:18 pm |
  |
If your .htaccess is not working, then that is why I am asking a third time. Does your host allow you to have .htaccess via the "AllowOverrides" set to "All" for your directory. |
_________________ Paul Laudanski, Microsoft MVP Windows-Security
CastleCops: [de] [en] [wiki] |
|
     |
 |
tika
Nuke Cadet


Joined: Sep 26, 2003
Posts: 5
|
Posted:
Tue Sep 30, 2003 3:00 am |
  |
Yes of course !
is it possible that someone post me a skript wich work for normal nuke 6.X ?
(.htaccess and header)
So i can test with this - and lookup where the error is.
ti |
|
|
   |
 |
|
|