What if...

It's not difficult to install myLounge Redirection, but sometimes it's quite tricky. Post your questions in here.

Moderator: Scooby

Postby Just_a_girl » Thu Jan 29, 2004 1:24 am

I don`t get this..

If I keep the index.php filename the scripts works just great, but after I rename it to myred.php it doesn`t work so great anymore.. :D

Can you guys tell me what I`m passing out on? I tried to change index.php to myred.php in htaccess, but I think I`m just lost...
Just_a_girl
 

Postby Just_a_girl » Thu Jan 29, 2004 1:39 am

Sorry, it works perfect.. It was just my hosting beeing screwed for a couple of minutes :D
Just_a_girl
 

Postby (soc) » Thu Jan 29, 2004 1:49 am

I have posted that in another post, but i didn't take response. i post it here again, because it is +&- the same with that pinko says.

If i put in root myred's script index.php, rename my index.php to index2.php and change in myred's script htaccess file from index.php index.html index.htm to index2.php , will everything work ok?

Thanks



ps) that in htaccess file that write : errordocumend 404 /index.php ,
what is the meaning of this? that in 404 error it goes to myred's script index.php?
If i put out this from htaccess file, or use another like :
error 404 or 500 etc http:www.mysite.com/site/modules.php?name=error

will work? ( i have phpnuke and error module is part of phpnuke)
(soc)
 

Postby andelal » Thu Jan 29, 2004 7:20 am

The index.php of my scripts must be the first to be accessed - there is no way around this.

Alex
User avatar
andelal
Site Admin
Site Admin
 
Posts: 479
Joined: Tue Jan 07, 2003 8:53 pm
Location: Vienna/Austria/Europe

Postby (soc) » Thu Jan 29, 2004 11:14 am

Hello,

Andelal, you keep don't response that i am asking.

Ok, i understood that myred's script index.php Must be in rooot as it is.
So, i am asking this again, please tell me if it is posssible to be, so to work :

1.myred script index.php in root

2.my index.php rename to index2.php

3.myred script htaccess in root ( one change i do here :
change
ErrorDocument 404 /index.php
DirectoryIndex index.php index.html index.htm
with
ErrorDocument 404 http://www.mysite.com/site/modules.php?name=error
DirectoryIndex index2.php


I do that change of htaccess file in ErrorDocument, so when there is 404 error to go to error module and in DirectoryIndex, so with writing www.mysite.com first to go to myred script index.php and after to index2.php and after to my web or wap site.

Is it correct? With this way, will the script and everything in site work ok? or i have to do something else?

Please let me know, Thanks
(soc)
 

Postby andelal » Thu Jan 29, 2004 12:16 pm

In short: no.
The error 404 is needed for path forwarding. You can set your real startpage in the redirection admin area.

Alex
User avatar
andelal
Site Admin
Site Admin
 
Posts: 479
Joined: Tue Jan 07, 2003 8:53 pm
Location: Vienna/Austria/Europe

Postby (soc) » Thu Jan 29, 2004 3:16 pm

Is it so difficult to answer to me that i am asking to u?

My questions are very ^pointed^.

You know exactly what my prob is, you know it from mail i sent to you and from my post here, but i never get an answer.

I will write it again and i expect that this time you will write something that will help me make myred script work on my site.

1. If i put Your index.php in root, and Change My index.php to index2.php, and Change in htaccess file the line :

DirectoryIndex index.php index.html index.htm
with
DirectoryIndex index2.php

Will the script and my redirection index2.php work Ok?
(My index2.php will redirect to web site those from web, and to wap site those from mobile)

TREE
------
root :
index.php(from myred script)
htaccess(from myred script)
site folder(my main phpnuke site)
wap folder(my wap site)
myred folder(myred script)
index2.php(redirect to wap or web site)

In that case, will everything work ok Or Not? That is only i am asking!


ps)what is the meaning of ErrorDocument 404 /index.php in htccess file?
Why error 404 have to go to index.php ?


Soc
(soc)
 

Postby andelal » Thu Jan 29, 2004 3:42 pm

1. If i put Your index.php in root, and Change My index.php to index2.php, and Change in htaccess file the line :

DirectoryIndex index.php index.html index.htm
with
DirectoryIndex index2.php

Will the script and my redirection index2.php work Ok?
(My index2.php will redirect to web site those from web, and to wap site those from mobile)

NO, IT WON'T WORK


Is this clear enough?
And do you actually read my posts? I already posted answers to your question above...

Alex
User avatar
andelal
Site Admin
Site Admin
 
Posts: 479
Joined: Tue Jan 07, 2003 8:53 pm
Location: Vienna/Austria/Europe

Postby Just_a_girl » Thu Jan 29, 2004 3:52 pm

(soc) wrote:1. If i put Your index.php in root, and Change My index.php to index2.php, and Change in htaccess file the line :

DirectoryIndex index.php index.html index.htm
with
DirectoryIndex index2.php



I think when you get a script for free you could be a little more appreciative and polite.

Why don't you...?:
1. Rename the index.php of the myred-script to myred.php

2. In the .htaccess-file change index.php to myred.php

Is this what you don't understand? If not I'm not able to help you as I don't know any php at all :D
Just_a_girl
 

Postby (soc) » Thu Jan 29, 2004 3:56 pm

Andelal ,

You Have To LEARN to SPEAK BETTER !!!

You Are So UNKIND !!!


Just_a_girl : THANK you very much dear. You can give o solution that admin of script CAN NOT !!!!!
(soc)
 

Postby andelal » Thu Jan 29, 2004 4:51 pm

You didn't ask for a solution, only if your proposal would work.
There is a "readme" included in the scripts, some questions can be answered there.

Alex
User avatar
andelal
Site Admin
Site Admin
 
Posts: 479
Joined: Tue Jan 07, 2003 8:53 pm
Location: Vienna/Austria/Europe

Postby g0d.nl » Thu Jan 29, 2004 5:15 pm

poor andelal :wink:
g0d.nl
 

Postby andelal » Thu Jan 29, 2004 5:34 pm

Yes, poor me :( :wink:

Alex
User avatar
andelal
Site Admin
Site Admin
 
Posts: 479
Joined: Tue Jan 07, 2003 8:53 pm
Location: Vienna/Austria/Europe

Postby (soc) » Thu Jan 29, 2004 7:08 pm

Andelal ,

i have told you about my prob by mail and here. You know very well how are the things in my site.
That i asked from the first time was if you can find a way to make myred work ok as my site is.
I dind't take response about never!

I don't have nothing ^bad^ with you, and i know that you give the script for free. But this is yours desicion. So you have to Support us, not?


Anyway maybe a good idea for me is to buy a real free of probs script to use in my site. because there is no solution here.


Be nice :)

Soc
(soc)
 

Postby andelal » Thu Jan 29, 2004 7:17 pm

I don't know what you want from me? I answered you here and by email :?
And I don't have to support anyone - but I do :P
Edit: here you find all redirection scripts I know (in php)
Alex
User avatar
andelal
Site Admin
Site Admin
 
Posts: 479
Joined: Tue Jan 07, 2003 8:53 pm
Location: Vienna/Austria/Europe

PreviousNext

Return to Support

Who is online

Users browsing this forum: No registered users and 1 guest

cron