Author Topic: additional domain name.  (Read 17102 times)

0 Members and 1 Guest are viewing this topic.

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: additional domain name.
« Reply #15 on: July 13, 2005, 12:17:28 AM »
so do u have RewriteBase / in your .htaccess and is it uncommented?
if so, try comment it out (or remove) and see if it helps.

again, its hard to troubleshoot without the error logs, without knowing exactly what is it can not find.
Another possibility, is that your second domain is setup not to obey .htaccess, or not allow using mod_rewrite
so, at this point - who knows...
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline kief24

  • Sr. Member
  • ****
  • Posts: 267
    • View Profile
Re: additional domain name.
« Reply #16 on: July 13, 2005, 01:00:03 PM »
Hello V@no,

thx for the help.
I asked them again and again for the error log, but the didn't send it trough ( not yet ;) )

This is my .htaccess file.
You see anything i should change ?

Quote
#begin code
RewriteEngine On
#RewriteBase /
RewriteRule ^lightbox\.htm$ lightbox.php?%{QUERY_STRING}
RewriteRule ^lightbox\.([0-9]+)\.htm$ lightbox.php?page=$1&%{QUERY_STRING}

RewriteRule ^search\.htm$ search.php?%{QUERY_STRING}
RewriteRule ^search\.([0-9]+)\.htm$ search.php?page=$1&%{QUERY_STRING}

RewriteRule ^cat\.htm$ categories.php?%{QUERY_STRING}
RewriteRule ^cat([0-9]+)\.([0-9]+)\.htm$ categories.php?cat_id=$1&page=$2&%{QUERY_STRING}
RewriteRule ^cat([0-9]+)\.htm$ categories.php?cat_id=$1&%{QUERY_STRING}

RewriteRule ^img([0-9]+)\.htm$ details.php?image_id=$1&%{QUERY_STRING}
RewriteRule ^img([0-9]+)\.([a-zA-Z0-9]+)\.htm$ details.php?image_id=$1&mode=$2&%{QUERY_STRING}

RewriteRule ^postcard([a-zA-Z0-9]+)\.htm$ postcards.php?postcard_id=$1&%{QUERY_STRING}
RewriteRule ^postcard\.img([0-9]+)\.htm$ postcards.php?image_id=$1&%{QUERY_STRING}

#end code


thx

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: additional domain name.
« Reply #17 on: July 13, 2005, 02:46:47 PM »
untill they send u the logs, try to uncomment RewriteBase /
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline kief24

  • Sr. Member
  • ****
  • Posts: 267
    • View Profile
Re: additional domain name.
« Reply #18 on: July 14, 2005, 11:04:26 AM »
Hey,

they fixed it !  :D

i got this mail from the help desk :

Quote
While looking into the error log for your issue I did find something that was set wrong in your conf entry for the additional domain. The error was an extra / for the most part this doesn't cause any issues but I believe because of your mod rewrites this was confusing apache. I have gone to your page and it now works. http://schoolplaten.be/cat133.htm

I am sorry for the inconvenience this has caused. If you have any further errors please reply back to this message and I will be happy to assist you.


So the mod was wright, and they were wrong.

Thx for al the help !!