Welcome, Guest. Please Login or Register.
April 29, 2024, 01:07:02 PM
Home Help Search Log in Register
News: SMF is the next generation in forum software, almost completely re-written from the ground up, make sure you don't fall for cheap imitations that suffer from feature bloat!

YaBB SE Community  |  Development  |  Completed mods  |  [beta 1.5.4] Smart URLs v2.1 « previous next »
Pages: 1 [2] 3 4 ... 18 Reply Ignore Print
Author Topic: [beta 1.5.4] Smart URLs v2.1  (Read 205483 times)
dschwab9
Full Member
***
Posts: 144


I'm a llama!

WWW
Re:[beta 1.5.4] Smart Urls v1.0
« Reply #15 on: November 11, 2003, 08:39:25 AM »
Reply with quote

You can set AcceptPathInfo On in your .htaccess as long as your host has AllowOverride turned on (they should, otherwise .htaccess wouldn't work at all)

.Htaccess is not the recomended method of turning it on, but you can do it that way.
« Last Edit: November 11, 2003, 08:41:58 AM by dschwab9 » Logged
Cerberus
Full Member
***
Posts: 100


Who's a llama?!

WWW
Re:[beta 1.5.4] Smart Urls v1.0
« Reply #16 on: November 11, 2003, 11:01:07 AM »
Reply with quote

PPCR is on IIS, but I have two other Linux servers and I would like to know, if they support the Smart Urls :).
Logged

Best Regards, Cerberus
Check out http://www.pocketpcrussia.com :)
Symetrical
Jr. Member
**
Posts: 62


I'm a llama!

Re:[beta 1.5.4] Smart Urls v1.0
« Reply #17 on: November 11, 2003, 01:45:03 PM »
Reply with quote

Quote from: dschwab9 on November 11, 2003, 08:39:25 AM
You can set AcceptPathInfo On in your .htaccess as long as your host has AllowOverride turned on (they should, otherwise .htaccess wouldn't work at all)

.Htaccess is not the recomended method of turning it on, but you can do it that way.

I cant do this on a windows server though (invalid filename) even if I have apache and php.

I can access php.ini and stuff on the server though, can I set it there?
Logged
dschwab9
Full Member
***
Posts: 144


I'm a llama!

WWW
Re:[beta 1.5.4] Smart Urls v1.0
« Reply #18 on: November 11, 2003, 02:30:27 PM »
Reply with quote

Quote from: Symetrical on November 11, 2003, 01:45:03 PM
Quote from: dschwab9 on November 11, 2003, 08:39:25 AM
You can set AcceptPathInfo On in your .htaccess as long as your host has AllowOverride turned on (they should, otherwise .htaccess wouldn't work at all)

.Htaccess is not the recomended method of turning it on, but you can do it that way.

I cant do this on a windows server though (invalid filename) even if I have apache and php.

I can access php.ini and stuff on the server though, can I set it there?

You can't do it in php.ini.  If you can access that, tho, can't you access httpd.conf?
Logged
Symetrical
Jr. Member
**
Posts: 62


I'm a llama!

Re:[beta 1.5.4] Smart Urls v1.0
« Reply #19 on: November 11, 2003, 02:39:32 PM »
Reply with quote

Quote

You can't do it in php.ini.  If you can access that, tho, can't you access httpd.conf?

Edit: Too many quote YaBBSE doesnt like

Yes, Ican access httpd.conf - what should I change in there?

By the way - http://mysite.com/index.php/someurl/page.html does work (goes to index.php)
« Last Edit: November 11, 2003, 08:45:48 PM by Symetrical » Logged
ajsinclair
Noobie
*
Posts: 14


WWW
Re:[beta 1.5.4] Smart Urls v1.0
« Reply #20 on: November 11, 2003, 03:31:53 PM »
Reply with quote

I'm really excited about this mod, but I'm having trouble installing it.  In boardmod I get errors related to my ManageCats.php and ManageBoards.php files (steps 11, 15-25).

The first error (in the ManageCats.php file) is that I have "catAllowCollapse" in my file.  Does this mean I have an incompatible mod installed?  The only mod I installed is the supermod.

If I have to uninstall the supermod to get this to work, how would I do that?
Logged
Omar Bazavilvazo
YaBB SE Developer
YaBB God
*****
Posts: 2153


I never said I would stay to the end...

WWW
Re:[beta 1.5.4] Smart Urls v1.0
« Reply #21 on: November 11, 2003, 04:28:21 PM »
Reply with quote

Quote from: ajsinclair on November 11, 2003, 03:31:53 PM
The only mod I installed is the supermod.

Super mod is a compilation of like 20+ mods in one.

You will need to install the mod manually.
Logged

Greetings from México!
http://omarbazavilvazo.com
Mi foro Español-Japonés
http://hablajapones.org
http://hablajapones.org/index.php/japones/tutoriales/b16.php

NO me manden IM para soporte o dudas
...Leo los foros como todos...
dschwab9
Full Member
***
Posts: 144


I'm a llama!

WWW
Re:[beta 1.5.4] Smart Urls v1.0
« Reply #22 on: November 11, 2003, 07:35:07 PM »
Reply with quote

Quote from: Symetrical on November 11, 2003, 02:39:32 PM
Yes, Ican access httpd.conf - what should I change in there?
Put
AcceptPathInfo On
Inside the directory container for the root directory of your virtual site.


Is this thread showing up formatted seriously weird for anyone else?  I'm seeing a couple of posts quashed down to half the width of the rest and right aligned.
« Last Edit: November 11, 2003, 07:37:01 PM by dschwab9 » Logged
Omar Bazavilvazo
YaBB SE Developer
YaBB God
*****
Posts: 2153


I never said I would stay to the end...

WWW
Re:[beta 1.5.4] Smart Urls v1.0
« Reply #23 on: November 11, 2003, 07:39:54 PM »
Reply with quote

weird for me :P
Logged

Greetings from México!
http://omarbazavilvazo.com
Mi foro Español-Japonés
http://hablajapones.org
http://hablajapones.org/index.php/japones/tutoriales/b16.php

NO me manden IM para soporte o dudas
...Leo los foros como todos...
Anguz
YaBB God
*****
Posts: 641


llama me?!

WWW
Re:[beta 1.5.4] Smart Urls v1.0
« Reply #24 on: November 11, 2003, 08:07:23 PM »
Reply with quote

QuoteIs this thread showing up formatted seriously weird for anyone else?  I'm seeing a couple of posts quashed down to half the width of the rest and right aligned.

for me too... I think the problem is in reply 19, a misplaced tag... a moderator or him could fix it editing the message




I decided to change the format of the url to different ones, depending on the user's need:

IIS - http://domain.tld/yabbse/index.php?sUrl=12345-20
(only one var, with a similar format to the one used in this bbs)

lookback - http://domain.tld/yabbse/index.php/t12345-20.htm
(this is the one available in the current release)

mod_rewrite - http://domain.tld/t12345-20.htm
(pretty similar to the prior one, but without the yabbse/index.php part)

the relative_url function will be replaced with a much faster way of changing the urls to threads and boards from full ones to absolute to improve indexing

and will also include an optional code for those who can't use preg_replace_callback() in their servers, for whatever reason that is

I think that's about it... I hope to have it soon... have been loaded with work and couldn't work on it these days
Logged

My Mods: Avatar & Sig Size Control, No Show Msg Subject, Msg URL Composer, Built-in Avatar Rand, Built-in Sig Rand, Remove New-lines Excess, Show All Stars, Search Bar, Smart URLs
dschwab9
Full Member
***
Posts: 144


I'm a llama!

WWW
Re:[beta 1.5.4] Smart Urls v1.0
« Reply #25 on: November 11, 2003, 08:14:20 PM »
Reply with quote

Quote from: Anguz on November 11, 2003, 08:07:23 PM
and will also include an optional code for those who can't use preg_replace_callback() in their servers, for whatever reason that is

So does that mean it will work on Apache 2?  If so,
* dschwab9 like!  ;D
Logged
Symetrical
Jr. Member
**
Posts: 62


I'm a llama!

Re:[beta 1.5.4] Smart Urls v1.0
« Reply #26 on: November 11, 2003, 08:46:27 PM »
Reply with quote

Ok, I fixed it, not sure why it messed up though.

QuoteYes, Ican access httpd.conf - what should I change in there?


Put
AcceptPathInfo On
Inside the directory container for the root directory of your virtual site.

How exactly do you do this?

Thanks
Logged
ajsinclair
Noobie
*
Posts: 14


WWW
Re:[beta 1.5.4] Smart Urls v1.0
« Reply #27 on: November 11, 2003, 08:51:12 PM »
Reply with quote

Omar,

What do you mean "manually".  I could manually edit the files that boardmod has trouble with, but I'm worried that if I take out the non-matching parts my previous mods (the supermod) won't function - or worse my whole board will not function.  (I'm not skilled in editing code.)

If anyone knows which mod "catAllowCollapse" belongs to, I could try to uninstall that mod only.  Then I think boardmod would work.

It seems like the best solution would be for me to get rid of the supermod all together, but I don't know how to do that.  

Any help would be appreciated.
« Last Edit: November 11, 2003, 09:08:11 PM by ajsinclair » Logged
dschwab9
Full Member
***
Posts: 144


I'm a llama!

WWW
Re:[beta 1.5.4] Smart Urls v1.0
« Reply #28 on: November 11, 2003, 09:00:41 PM »
Reply with quote

Quote from: Symetrical on November 11, 2003, 08:46:27 PM
Ok, I fixed it, not sure why it messed up though.

QuoteYes, Ican access httpd.conf - what should I change in there?


Put
AcceptPathInfo On
Inside the directory container for the root directory of your virtual site.

How exactly do you do this?

Thanks

You should have a section in httpd.conf that has

<directory "/path/to/your/site">
Options +ExecCGI
AddHandler cgi-script cgi pl

AllowOveride All

Some
Other
Settings

</directory>

You need to put it in between the <directory> tags.  There are different ways to set up httpd.conf, so yours may not be exactly like that, but should be similar.

If you need help, email me a copy of the file, and I'll take a look at it.
« Last Edit: November 11, 2003, 09:11:00 PM by dschwab9 » Logged
Symetrical
Jr. Member
**
Posts: 62


I'm a llama!

Re:[beta 1.5.4] Smart Urls v1.0
« Reply #29 on: November 11, 2003, 09:21:36 PM »
Reply with quote

Thanks

I found this

<Directory "C:/Program Files/Apache Group/Apache/htdocs">

#
# This may also be "None", "All", or any combination of "Indexes",
# "Includes", "FollowSymLinks", "ExecCGI", or "MultiViews".
#
# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you.
#
   Options Indexes FollowSymLinks MultiViews

#
# This controls which options the .htaccess files in directories can
# override. Can also be "All", or any combination of "Options", "FileInfo",
# "AuthConfig", and "Limit"
#
   AllowOverride All

#
# Controls who can get stuff from this server.
#
   Order allow,deny
   Allow from all
</Directory>


And changed it to this

<Directory "C:/Program Files/Apache Group/Apache/htdocs">

#
# This may also be "None", "All", or any combination of "Indexes",
# "Includes", "FollowSymLinks", "ExecCGI", or "MultiViews".
#
# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you.
#
   Options Indexes FollowSymLinks MultiViews

#
# This controls which options the .htaccess files in directories can
# override. Can also be "All", or any combination of "Options", "FileInfo",
# "AuthConfig", and "Limit"
#
   AllowOverride All

   AcceptPathInfo On

#
# Controls who can get stuff from this server.
#
   Order allow,deny
   Allow from all
</Directory>


But now that I've done that, Apache wont load and says it didn't give an error, it just wont load. If I remove the extra line, then it works again, but the thing isn't changed

Any ideas?
Logged
Pages: 1 [2] 3 4 ... 18 Reply Ignore Print 
YaBB SE Community  |  Development  |  Completed mods  |  [beta 1.5.4] Smart URLs v2.1 « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.047 seconds with 20 queries.