Mysidia Adoptables Support Forum

Mysidia Adoptables Support Forum (http://www.mysidiaadoptables.com/forum/index.php)
-   Questions and Supports (http://www.mysidiaadoptables.com/forum/forumdisplay.php?f=18)
-   -   htaccess problem (http://www.mysidiaadoptables.com/forum/showthread.php?t=1264)

Soslowly 01-11-2010 06:21 AM

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 :(

powerchaos 01-19-2010 06:59 PM

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

Soslowly 01-20-2010 06:56 PM

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]


powerchaos 01-20-2010 07:02 PM

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

Soslowly 01-21-2010 05:10 AM

RE: htaccess problem
 
Not work.. the second image dont work.
The image with .gif extension :( uff

powerchaos 01-21-2010 10:05 AM

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

Soslowly 01-21-2010 12:17 PM

RE: htaccess problem
 
The site is: http://adottami.cz.cc/

Try to adopt the dragon, try the second code and see the result. :(

powerchaos 01-21-2010 12:21 PM

RE: htaccess problem
 
well, feel free to click on this image :D

http://www.adottami.cz.cc/get/12.gif

Soslowly 01-21-2010 12:22 PM

RE: htaccess problem
 
do you see the image?
i not see it.

powerchaos 01-21-2010 12:36 PM

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)

BMR777 01-21-2010 02:14 PM

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. :)

Soslowly 01-22-2010 05:33 PM

RE: htaccess problem
 
thanks for support but the image still not showing up :(
i removed /adoptables200 but nothing.... i need a miracle! :(

Soslowly 01-25-2010 03:01 PM

RE: htaccess problem
 
problem not solved

BMR777 01-25-2010 04:25 PM

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.

Soslowly 01-26-2010 02:59 AM

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]

BMR777 01-26-2010 02:20 PM

RE: htaccess problem
 
Quote:

Originally Posted by Soslowly
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]

That looks like it should work. The only other thing I can think is maybe:

Code:

RewriteRule ^get/([0-9]+).gif$ /siggy.php?id=$1 [L]
Should be:

Code:

RewriteRule ^get/([0-9]+).gif$ siggy.php?id=$1 [L]
Try that and see if the alternate images work then. :)

Soslowly 01-26-2010 03:13 PM

RE: htaccess problem
 
Code:

Page not found

The page you are looking for might have been removed,
had its name changed, or is temporarily unavailable.

Please try the following:
If you typed the page address in the Address bar, make sure that it is spelled correctly.

- Click the Back button in your browser to try another link.
- Use a search engine like Google to look for information on the Internet.

HTTP 404 - File not found

:(

BMR777 01-26-2010 04:21 PM

RE: htaccess problem
 
Quote:

Originally Posted by Soslowly
Code:

Page not found

The page you are looking for might have been removed,
had its name changed, or is temporarily unavailable.

Please try the following:
If you typed the page address in the Address bar, make sure that it is spelled correctly.

- Click the Back button in your browser to try another link.
- Use a search engine like Google to look for information on the Internet.

HTTP 404 - File not found

:(

What is the URL you are trying to call up?

Soslowly 01-27-2010 01:39 AM

RE: htaccess problem
 
The image of the 2nd code (bbcode):

Code:

http://www.adottami.cz.cc/get/11.gif

Soslowly 01-30-2010 12:42 PM

RE: htaccess problem
 
help pleaze

Soslowly 02-02-2010 12:46 PM

RE: htaccess problem
 
Please BMR77, i beg you ç_ç

BMR777 02-02-2010 03:12 PM

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?

fadillzzz 02-04-2010 02:14 AM

RE: htaccess problem
 
Quote:

Originally Posted by Soslowly
Please BMR77, i beg you ç_ç

I think you should contact your host about this...maybe they can help...


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.