![]() |
htaccess problem
I uploaded the script and it work fine, but my .htaccess file have a problem.
When i get the alternative bbcode the image are not be shown. "page not found...." My host fully support .htaccess.. how can i solve this issue? :( A thing you have to know: i host multiple domains in my host account, so the script is hosted on "adopt" folder of the account, and the domain pointing redirect the folder to adopt.com (example) help :( |
RE: htaccess problem
what you mean ??
are you sure your htacces got the right settings some hosts requere to use option+symlinks in your htacces or even to write in it mod_rewrite 1 (not sure of that command ,but it is a example) before it even want to works the best i can suggest to provde more help is submitting the htacces :P and to thell the exact location of the folder as example your main is adopt.com but your folder is located in adopt.com/folder then the htacces need to rewrite it to that folder and not to the main folder hopes this can help you a little Greets From PowerChaos |
RE: htaccess problem
The htaccess is in the folder /pet
And in the pet folder there is the script. The domain pointer, point the folder to the domain example.com The htaccess is: Code:
RewriteEngine On |
RE: htaccess problem
try to put this command at top and see if it works then
but if the script is in the pet folder then you mean pet.yourdomain.com as main domain and the location is then yourdomain.com/pet i am not that good with htacces (to be honnest , i know nothing of it ) but i know that sometimes to get it working that you need to use this command in your htaces file it all depends how your host setted it up (does it allow second level htacces ?? or only first level , second level means /home/www/secondlevel/ ) Code:
Options +FollowSymlinks Greets From PowerChaos |
RE: htaccess problem
Not work.. the second image dont work.
The image with .gif extension :( uff |
RE: htaccess problem
its kinda easyer for every1 if they got a link to show the result of what you mean (why does no1 post a link :S )
1) it give you visitors :P 2) it helps us to see the mor exact problem 3) sometimes it can safe unneeded questions like in a other topic (some1 putted the file into a dir and forgot to take it out so his files where not working if it need to be in root :P) if the gif not works try to reupload them in a zip file or try to upload it again with ftp in binairy mode or ascii mode (if 1 not works try the other 1 ) and check if you can direct acces the image to see if it is the file or a other problem Greets From The Crasher |
RE: htaccess problem
The site is: http://adottami.cz.cc/
Try to adopt the dragon, try the second code and see the result. :( |
RE: htaccess problem
|
RE: htaccess problem
do you see the image?
i not see it. |
RE: htaccess problem
i dont see it eather , but i think i found the problem , i am looking a bit more in htacces
the image goes directly to where it is written , but thats not where it need to be in htacces stands this intresting code Code:
RewriteRule ^get/(.*)$ /adoptables200/siggy.php?url=$1 [L] (.*)$ is everything after it and change it to $ then $1 means the first rewrite (that $ from before) this is the output you have from the image http://adottami.cz.cc/picuploads/gif/12.gif?url=12.gif and thats not what we need to have , but means that it does rewrite but not right it ads the url=12.gif behind it and thats not what need to be behind dit you edited siggy.php by any change ? i got totaly no clue how the =?12.gif can come behind it , the rewrite rule seems to be fine ps: http://adottami.cz.cc/picuploads/gif/12.gif does not works eather :s Greets From The crasher but i going leave this up to BMR777 to give the solution but the rewriting is working , exept that last code is wrong (shoulnd add the ?=url) |
RE: htaccess problem
You have to change the adoptables200 part in the .htaccess file to reflect the name of the folder where the script is installed. If you installed on the root of your domain get rid of the /adoptables200 part alltogether. :)
|
RE: htaccess problem
thanks for support but the image still not showing up :(
i removed /adoptables200 but nothing.... i need a miracle! :( |
RE: htaccess problem
problem not solved
|
RE: htaccess problem
What is the full site URL to your adoptables installation? For example, yoursite.com/adoptables or something like that.
Also, what is the .htaccess code you are using in your .htaccess file currently? This is either an issue of something not being set up correctly or your host not working correctly with .htaccess. |
RE: htaccess problem
the script is in the root: adottami.cz.cc
.htaccess: RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^get/([0-9]+).gif$ /siggy.php?id=$1 [L] |
RE: htaccess problem
Quote:
Code:
RewriteRule ^get/([0-9]+).gif$ /siggy.php?id=$1 [L] Code:
RewriteRule ^get/([0-9]+).gif$ siggy.php?id=$1 [L] |
RE: htaccess problem
Code:
Page not found |
RE: htaccess problem
Quote:
|
RE: htaccess problem
The image of the 2nd code (bbcode):
Code:
http://www.adottami.cz.cc/get/11.gif |
RE: htaccess problem
help pleaze
|
RE: htaccess problem
Please BMR77, i beg you ç_ç
|
RE: htaccess problem
I'm out of ideas on this. I believe something has to be not configured correctly. Is this by any chance an addon domain you are using?
|
RE: htaccess problem
Quote:
|
All times are GMT -5. The time now is 05:51 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.