261
ewonline
Re: ShortURLs hack
  • 2004/11/23 2:25

  • ewonline

  • Not too shy to talk

  • Posts: 198

  • Since: 2004/11/17


ShortURL doesnt work on my site with XCGAL and NewBB 2.0 RC3.
It works, just the page displays funny

262
adrock
Re: ShortURLs hack
  • 2004/12/7 3:57

  • adrock

  • Quite a regular

  • Posts: 291

  • Since: 2004/12/7


Anyone else try this with v2.0.7.3?
I just did, and it basically disabled the site, so I was wondering if there was anything specifically different for the latest version.

I'm hosted on an apache server, and did include the 'RewriteEngine on' line in my .htaccess file.

How different are the mianfile.php's between versions?

Reynaldo: Maybe a better way to tell people where to insert the include line, is to tell us which line to stick it in front of.

Suggestions? Comments?

Thanks for letting me play 20 questions with my first post!

263
limecity
Re: ShortURLs hack
  • 2004/12/7 4:07

  • limecity

  • Friend of XOOPS

  • Posts: 1602

  • Since: 2003/7/6 0


this is the latest for the URL hack i think
https://xoops.org/modules/news/article.php?storyid=1851

264
adrock
Re: ShortURLs hack
  • 2004/12/7 4:49

  • adrock

  • Quite a regular

  • Posts: 291

  • Since: 2004/12/7


Thanks for the speedy reply ;)

60 billion posts later I had almost compiled the newest version myself! ;)

Thanks again!

265
patagon
Re: ShortURLs hack
  • 2004/12/8 15:21

  • patagon

  • Quite a regular

  • Posts: 235

  • Since: 2002/1/8 0


Hi,

I am a bit confused about the requirements to run this hack on a virtual server. This will be a new XOOPS site and I'm looking at two (cheap) possible hosts for it (surpass and godaddy, BTW if anyone knows any feedback on them it will be welcome ). I sent them the following mail asking them:

+ Is PHP on your virtual servers compiled with the
+ RewriteEngine module?
+ Also, is session.trans_sid set to off in PHP?
+ Can we (virtual hosting users) use mod_rewrite?
+ At last, is PHP compiled as an Apache module?

Surpass replied:
We do compile php with mod_rewrite. session.trans_sid is set to on. You can use mod_rewrite at your discretion. Also, we do compile php with apache.

GoDaddy replied:
Our PHP servers are not compiled using the rewrite engine module. The session.trans_sid is set to off in PHP. The virtual hosting does not allow for the mod_rewrite feature. The PHP is compiled using an Apache module.

Can anyone confirm I can use this hack with any of these hosts? I would really like to use it and since I am getting a new host for this, I would like to make sure its 'shorturls compatible'

Thanks a lot!

266
adrock
Re: ShortURLs hack
  • 2004/12/12 4:16

  • adrock

  • Quite a regular

  • Posts: 291

  • Since: 2004/12/7


Most of the feed back I am getting, and my personal experience with it has led me to drop it all together.

However, I was using godaddy as a host, but their hosting platforms, virtual and otherwise will not work with XOOPS. Don't get me wrong, you'll install it, try it out etc. and it will look great and funnction just fine until you want actual live internet users viewing it. They have their PHP locked in sage mode. Their mail server options are 'virtual' smtp hosts as well, and basically, your site will not fuinction or be able to send e-mail or anything. I'd reccomend NOT using them.

I went to findmyhosting.com and searched there for a host, and got a coupon for hosting at MyMarkdown.com.

It is apache based, has much more access and features than anything godaddy even has to offer.
I pay $7/month for 2500MB of space w/30GB a month of transfer. Unlimited pop emails, unlimited MySql data bases. It has ssl directories, and is working like a champ for me. No long term agreement...just month to month.

With the donation block set up on the site..it's basically free!

The default 'scripts' that are included in their control panel include phpNuke, phpBB, and cgi scripts till you die! just to name a few.

I've been happy with them, and it has been working well for the last 60 days for me.

Good luck with all of it, and let us know when your site goes live!

267
ukandrewf
Re: ShortURLs hack
  • 2005/1/31 18:47

  • ukandrewf

  • Friend of XOOPS

  • Posts: 198

  • Since: 2002/12/2


I'm just upgrading from 2.0.6 all the way in two steps to 2.0.9.2

but when I'm done i see the outer edges of my site but no central content just..

'Selected module does not exist!'

anyone had that - any advice?

also if i want to remove this hack in theory i just back step?

Installation is simple:

1) Upload this two files to your XOOPS root dir:
- loadpages.php
- xoops_shorturls.php
2) Modify your .htaccess file, the one you have in your XOOPS root dir (if any)
and add the contents of the included .htaccess file. If you don't have one, just upload the one I provided.

3) In the XOOPS root dir, there is a file named mainfile.php
Open it and add the following line just after the disclaimer (line 27 for
Xoops 2.06):

include "xoops_shorturls.php";


thanks

Andrew

268
ukandrewf
Re: ShortURLs hack
  • 2005/1/31 18:47

  • ukandrewf

  • Friend of XOOPS

  • Posts: 198

  • Since: 2002/12/2


I'm just upgrading from 2.0.6 all the way in two steps to 2.0.9.2

but when I'm done i see the outer edges of my site but no central content just..

'Selected module does not exist!'

anyone had that - any advice?

also if i want to remove this hack in theory i just back step?

Installation is simple:

1) Upload this two files to your XOOPS root dir:
- loadpages.php
- xoops_shorturls.php
2) Modify your .htaccess file, the one you have in your XOOPS root dir (if any)
and add the contents of the included .htaccess file. If you don't have one, just upload the one I provided.

3) In the XOOPS root dir, there is a file named mainfile.php
Open it and add the following line just after the disclaimer (line 27 for
Xoops 2.06):

include "xoops_shorturls.php";


thanks

Andrew

269
Lualah
Re: ShortURLs hack
  • 2005/3/31 23:57

  • Lualah

  • Just popping in

  • Posts: 30

  • Since: 2005/3/6 2


why your hack not working in 2.0.9.3.

I get blank page.

270
adrock
Re: ShortURLs hack
  • 2005/4/14 20:02

  • adrock

  • Quite a regular

  • Posts: 291

  • Since: 2004/12/7


Andrew...
Basically 'yes' to your question...reverse the process to uninstall it. (Back up your database first though)

I do not believe that that particular hack works with 2.0.9.x...the core module code has changed in such a way that the hack essentially prevents the database and site form putting the info together correctly (can't figure out where to insert the database data in the theme now)

If you were able to alter an existing .htaccess file, then you can actually alter it manually and accomplish close to the same thing. I've been able to get the google spider to go 4 directory levels deep, and to extend as far as the first parameter called in each uri just by using redundant, and overkill .htaccess lines.

Good luck!

Login

Username:
Password:

Lost Password? Register now!

Who's Online

65 user(s) are online (31 user(s) are browsing Support Forums)


Members: 0


Guests: 65


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Dec 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits