11
script_fu
Re: ShortURLs hack

Hi Reynaldo,
Very nice hack should be part of the core. Tell me i've been trying to pull of many sites at once. What do you use for a multisite cms?

12
Brad
Re: ShortURLs hack
  • 2004/2/14 19:28

  • Brad

  • Not too shy to talk

  • Posts: 150

  • Since: 2003/12/4


Quote:
Just to be clear, for this hack to work, it requires Apache to be compiled with the RewriteEngine module.

How would one go about determining if their hosted site has Apache compiled with the RewriteEngine module, short of asking the hosting service themselves?

13
fatman
Re: ShortURLs hack
  • 2004/2/14 19:45

  • fatman

  • Friend of XOOPS

  • Posts: 176

  • Since: 2003/12/13


Quote:

BPJones wrote:
Quote:
Just to be clear, for this hack to work, it requires Apache to be compiled with the RewriteEngine module.

How would one go about determining if their hosted site has Apache compiled with the RewriteEngine module, short of asking the hosting service themselves?


just upload an .htaccess file with a Rewrite function and see if it works.

14
script_fu
Re: ShortURLs hack

Huh? ->just upload an .htaccess file with a Rewrite function and see if it works. <- Can you break that down a lil? Sure everyone knows about .htaccess but what in the **** is a rewrite fuction?

15
reynaldo
Re: ShortURLs hack
  • 2004/2/15 3:22

  • reynaldo

  • Not too shy to talk

  • Posts: 106

  • Since: 2004/2/13


Quote:

script_fu wrote:
Can you break that down a lil? Sure everyone knows about .htaccess but what in the **** is a rewrite fuction?


To test if RewriteEngine is available in your server add the following lines to your .htaccess file:

RewriteEngine on
RewriteRule testrewrite
.html / [L]


After that point your browser to http://www.yourdomain.com/testrewrite.html

You should get your index page.

16
reynaldo
Re: ShortURLs hack
  • 2004/2/15 3:25

  • reynaldo

  • Not too shy to talk

  • Posts: 106

  • Since: 2004/2/13


Quote:

script_fu wrote:
Hi Reynaldo,
Very nice hack should be part of the core. Tell me i've been trying to pull of many sites at once. What do you use for a multisite cms?


The best thing I've found until now for a multisite cms is PostNuke. I tried to modify the core of Xoops, but after so many modifications, I stopped as I would have to do the same for each new release

17
reynaldo
New Version 0.2 :-)
  • 2004/2/15 4:04

  • reynaldo

  • Not too shy to talk

  • Posts: 106

  • Since: 2004/2/13


I just added a new version: 0.2
This version adds support for gzip compression for browsers that support it.

In theory your pages should transfer faster from your server
to your browser.

It was already supported by Xoops, but got disabled with the original version of this hack.

Enjoy it and post your results!

The url for download is:
http://www.wtmmail.com/XoopsShortUrls/ShortURLs_0.2_for_Xoops.zip

18
Koreus
Re: ShortURLs hack
  • 2004/2/18 17:50

  • Koreus

  • Just popping in

  • Posts: 29

  • Since: 2003/2/9 2


Hi

Nice hack, but there is a problem with Partners module, if we want to add a partner he tries to open the /join.html file and I have an error.


19
Koreus
Re: ShortURLs hack
  • 2004/2/18 18:04

  • Koreus

  • Just popping in

  • Posts: 29

  • Since: 2003/2/9 2


In fact I have a lot of problems :/

If I use the Last Comment Block, the link doesn't work.

If I try to post a comment :
Not Found
The requested URL /comment_new.php was not found on this server.

I have also problem to see the next page of topic, for example : https://xoops.org/modules/news/index.php?storytopic=0&start=5
I have a 404 error :(
Not Found
The requested URL /topic0.html&start=5 was not found on this server.

Hope it will be fix in 0.3

20
reynaldo
Re: ShortURLs hack
  • 2004/2/20 5:37

  • reynaldo

  • Not too shy to talk

  • Posts: 106

  • Since: 2004/2/13


Koreus:

I'll take a look at it

Login

Who's Online

233 user(s) are online (142 user(s) are browsing Support Forums)


Members: 0


Guests: 233


more...

Donat-O-Meter

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

Latest GitHub Commits