![]() |
#1
|
|||
|
|||
![]()
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 :( |
#2
|
||||
|
||||
![]()
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 |
#3
|
|||
|
|||
![]()
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 RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^get/(.*)$ /adoptables200/siggy.php?url=$1 [L] |
#4
|
||||
|
||||
![]()
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 RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^get/(.*)$ /adoptables200/siggy.php?url=$1 [L] Greets From PowerChaos |
#5
|
|||
|
|||
![]()
Not work.. the second image dont work.
The image with .gif extension :( uff |
#6
|
||||
|
||||
![]()
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 |
#7
|
|||
|
|||
![]()
The site is: http://adottami.cz.cc/
Try to adopt the dragon, try the second code and see the result. :( |
#8
|
||||
|
||||
![]() |
#9
|
|||
|
|||
![]()
do you see the image?
i not see it. |
#10
|
||||
|
||||
![]()
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) |
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
.htaccess Problems | Ben | Questions and Supports | 4 | 08-20-2010 05:21 AM |
.htaccess | rosepose | Questions and Supports | 3 | 05-26-2009 11:17 AM |
What's New? |
What's Hot? |
What's Popular? |