Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Mysidia Adoptables > Questions and Supports

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 01-11-2010, 06:21 AM
Soslowly Soslowly is offline
Member
 
Join Date: Jan 2010
Posts: 12
Credits: 1,212
Soslowly
Default 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 :(
Reply With Quote
  #2  
Old 01-19-2010, 06:59 PM
powerchaos's Avatar
powerchaos powerchaos is offline
WebMaster
 
Join Date: May 2008
Posts: 130
Gender: Male
Credits: 10,297
powerchaos
Send a message via AIM to powerchaos Send a message via MSN to powerchaos
Default 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
Reply With Quote
  #3  
Old 01-20-2010, 06:56 PM
Soslowly Soslowly is offline
Member
 
Join Date: Jan 2010
Posts: 12
Credits: 1,212
Soslowly
Default 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


RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^get/(.*)$ /adoptables200/siggy.php?url=$1 [L]
Reply With Quote
  #4  
Old 01-20-2010, 07:02 PM
powerchaos's Avatar
powerchaos powerchaos is offline
WebMaster
 
Join Date: May 2008
Posts: 130
Gender: Male
Credits: 10,297
powerchaos
Send a message via AIM to powerchaos Send a message via MSN to powerchaos
Default 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

RewriteEngine On

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^get/(.*)$ /adoptables200/siggy.php?url=$1 [L]
try this code , sometimes it works , els it give you a nice error 500 page

Greets From PowerChaos
Reply With Quote
  #5  
Old 01-21-2010, 05:10 AM
Soslowly Soslowly is offline
Member
 
Join Date: Jan 2010
Posts: 12
Credits: 1,212
Soslowly
Default RE: htaccess problem

Not work.. the second image dont work.
The image with .gif extension :( uff
Reply With Quote
  #6  
Old 01-21-2010, 10:05 AM
powerchaos's Avatar
powerchaos powerchaos is offline
WebMaster
 
Join Date: May 2008
Posts: 130
Gender: Male
Credits: 10,297
powerchaos
Send a message via AIM to powerchaos Send a message via MSN to powerchaos
Default 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
Reply With Quote
  #7  
Old 01-21-2010, 12:17 PM
Soslowly Soslowly is offline
Member
 
Join Date: Jan 2010
Posts: 12
Credits: 1,212
Soslowly
Default RE: htaccess problem

The site is: http://adottami.cz.cc/

Try to adopt the dragon, try the second code and see the result. :(
Reply With Quote
  #8  
Old 01-21-2010, 12:21 PM
powerchaos's Avatar
powerchaos powerchaos is offline
WebMaster
 
Join Date: May 2008
Posts: 130
Gender: Male
Credits: 10,297
powerchaos
Send a message via AIM to powerchaos Send a message via MSN to powerchaos
Default RE: htaccess problem

well, feel free to click on this image :D

Reply With Quote
  #9  
Old 01-21-2010, 12:22 PM
Soslowly Soslowly is offline
Member
 
Join Date: Jan 2010
Posts: 12
Credits: 1,212
Soslowly
Default RE: htaccess problem

do you see the image?
i not see it.
Reply With Quote
  #10  
Old 01-21-2010, 12:36 PM
powerchaos's Avatar
powerchaos powerchaos is offline
WebMaster
 
Join Date: May 2008
Posts: 130
Gender: Male
Credits: 10,297
powerchaos
Send a message via AIM to powerchaos Send a message via MSN to powerchaos
Default 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]
meaning , ^get = everything until you get /get/
(.*)$ 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)
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
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


All times are GMT -5. The time now is 11:51 PM.

Currently Active Users: 883 (0 members and 883 guests)
Threads: 4,080, Posts: 32,024, Members: 2,016
Welcome to our newest members, jolob.
BETA





What's New?

What's Hot?

What's Popular?


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
vBCommerce I v2.0.0 Gold ©2010, PixelFX Studios
vBCredits I v2.0.0 Gold ©2010, PixelFX Studios
Emoticons by darkmoon3636