vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Spider friendly URLs (https://vborg.vbsupport.ru/showthread.php?t=18035)

fastforward 10-06-2002 11:17 PM

Quote:

Originally posted by nuno
Paul, how do we fix the Unknown Location Fields showing up in WOL page?
TIA :)

easypeasy :)
In online.php : Change the 'default' block of the CASE statement on or around line 626 to look like this:
Code:

  default:
    if (preg_match ("/t([0-9]+)\.html/", $filename, $match)) {
      $userinfo[threadid] = $match[1];
      $userinfo[activity] = 'showthread';
      $threadids .= ",$userinfo[threadid]";
    } elseif (preg_match ("/f([0-9]+)/", $filename, $match)) {
      $forumid = $match[1];
      $forumids .= ",$forumid";
      $userinfo[activity] = 'forumdisplay';
      $userinfo[forumid] = $forumid;
    } elseif (preg_match ("/robots\.txt/", $filename)) {
      $userinfo[activity] = 'spider';
    } else {
      $userinfo[activity] = 'unknown';
    }
  }


nuno 10-06-2002 11:30 PM

Tada, working like a charm now :bunny:
Muchas gracias Paul :)

Velocd 10-12-2002 03:21 PM

I've attempted an installation of this hack, but am facing an annoying obstacle.

Where in the world is this httpd.conf file located? I have found .htaccess in my forums directory, which is a completely blank file, but not httpd.conf. Which am I suppose to modify?

Velocd 10-13-2002 01:15 AM

*gasp*

on..verge..of..death..need.......help ;)

fastforward 10-13-2002 02:36 AM

Quote:

Originally posted by Velocd
I've attempted an installation of this hack, but am facing an annoying obstacle.

Where in the world is this httpd.conf file located? I have found .htaccess in my forums directory, which is a completely blank file, but not httpd.conf. Which am I suppose to modify?

The location of httpd.conf is dependent on your installation of Apache. Probably the most common place for it is /etc/

If you are unfamiliar with editing this file... be careful; your web server depends on it.

filburt1 10-14-2002 03:59 PM

FYI, on OS X, it's in /etc/httpd/ :)

filburt1 10-14-2002 05:20 PM

Okay, my .htaccess file must be at fault. My site is at /home/filburt1/public_html/webdesignforums/ ; it's an addon domain in CPanel. So http://www.webdesignforums.net/ really loads http://webdesignforums.turtletips.com/ , same as http://www.turtletips.com/webdesignforums/ .

I get 404 errors for every single link. My .htaccess is identical to eva's.

Velocd 10-15-2002 03:28 AM

Quote:

Originally posted by fastforward

The location of httpd.conf is dependent on your installation of Apache. Probably the most common place for it is /etc/

If you are unfamiliar with editing this file... be careful; your web server depends on it.

Well crap, I can't seem to find it anywhere :sleep:
Not that I'm bitter about it :p

Velocd 10-16-2002 12:29 AM

*one day later*

Ok so maybe I'm "alittle" bitter about it... ;)

I searched for the file httpd.conf and couldn't find it anywhere. :(

It looks like according to this thread there is another way to install this hack using .htaccess? Maybe..?

Velocd 10-17-2002 04:59 AM

*one day later*

So, I walked into this bar, and this guy asked me "Watcha looking for", and I said "httpd.conf, you know where it is?" And then he said...

oh wait..uh..that was random *confused*

Anyway, could somebody please help this poor guy out in his search for the holy httpd.conf..or other methods to installing this hack (see above thread)


All times are GMT. The time now is 03:04 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01353 seconds
  • Memory Usage 1,740KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete