xoops forums

script_fu

Friend of XOOPS
Posted on: 2004/2/14 17:19
script_fu
script_fu (Show more)
Friend of XOOPS
Posts: 1494
Since: 2002/12/27
#11

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?

Brad

Not too shy to talk
Posted on: 2004/2/14 19:28
Brad
Brad (Show more)
Not too shy to talk
Posts: 150
Since: 2003/12/4
#12

Re: ShortURLs hack

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?

fatman

Friend of XOOPS
Posted on: 2004/2/14 19:45
fatman
fatman (Show more)
Friend of XOOPS
Posts: 176
Since: 2003/12/13
#13

Re: ShortURLs hack

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.

script_fu

Friend of XOOPS
Posted on: 2004/2/15 1:55
script_fu
script_fu (Show more)
Friend of XOOPS
Posts: 1494
Since: 2002/12/27
#14

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?

reynaldo

Not too shy to talk
Posted on: 2004/2/15 3:22
reynaldo
reynaldo (Show more)
Not too shy to talk
Posts: 106
Since: 2004/2/13
#15

Re: ShortURLs hack

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.

reynaldo

Not too shy to talk
Posted on: 2004/2/15 3:25
reynaldo
reynaldo (Show more)
Not too shy to talk
Posts: 106
Since: 2004/2/13
#16

Re: ShortURLs hack

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

reynaldo

Not too shy to talk
Posted on: 2004/2/15 4:04
reynaldo
reynaldo (Show more)
Not too shy to talk
Posts: 106
Since: 2004/2/13
#17

New Version 0.2 :-)

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

Koreus

Just popping in
Posted on: 2004/2/18 17:50
Koreus
Koreus (Show more)
Just popping in
Posts: 29
Since: 2003/2/9 2
#18

Re: ShortURLs hack

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.

Koreus

Just popping in
Posted on: 2004/2/18 18:04
Koreus
Koreus (Show more)
Just popping in
Posts: 29
Since: 2003/2/9 2
#19

Re: ShortURLs hack

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

reynaldo

Not too shy to talk
Posted on: 2004/2/20 5:37
reynaldo
reynaldo (Show more)
Not too shy to talk
Posts: 106
Since: 2004/2/13
#20

Re: ShortURLs hack

Koreus:

I'll take a look at it