Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online
4 registered (capnbob, id242, johnH, Mike L), 41 Guests and 19 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 04/12/04
Posts: 154
Top Posters (30 Days)
Ruben 49
DennyP 24
Gizmo 23
Dunny 18
SteveS 14
AllenAyres 12
dbremer 10
drkknght00 9
SD 9
driv 8
Latest Photos
OK Corral Shoot Out
Testing
Basildon Train Station
Basildon Town Centre looking from the rounderbout
Basildon Town Square
Page 1 of 2 1 2 >
Topic Options
#180856 - 03/18/07 12:00 AM VPS and spider-friendly URLs
Okusi Offline
member
Registered: 06/05/06
Posts: 163
Loc: Jakarta, Indonesia
i've just moved my system from my shared web server to my own VPS.

all went relatively smoothly, but i was rather disappointed to discover that the spider-friendly URLs do not work on the new server.

what, if anything, can i do about this?

what impact will it have on my website's visibility without the spider-friendly URLs?

comments appreciated!
_________________________
Okusi Associates -- Indonesian business and management services
Top
Express Hosting
Express Hosting "We are the official hosting company of UBB.threads. Ask us about our free migration services to migrate your UBB.threads installation."
#180857 - 03/18/07 12:32 AM Re: VPS and spider-friendly URLs [Re: Okusi]
Okusi Offline
member
Registered: 06/05/06
Posts: 163
Loc: Jakarta, Indonesia
i seems age and senility are catching up with me ... i recall having this same spider-friendly problem on my on my old server, and rick has already provided some of the answers.

something relating to PATH_INFO environment variable, and putting the following into the php.ini file:

cgi.fix_pathinfo =1

i recall that fixed the problem last time. only thing is, now i forget where the php.ini file is located ... \:\(
_________________________
Okusi Associates -- Indonesian business and management services
Top
#180858 - 03/18/07 12:54 AM Re: VPS and spider-friendly URLs [Re: Okusi]
Rick Offline
Post-a-holic
Registered: 06/04/06
Posts: 10164
Loc: Aberdeen, WA
The location can vary depending on the server. If it's a linux server you could use the locate command perhaps to find it:

locate php.ini

That should give you it's location.
Top
#180860 - 03/18/07 01:06 AM Re: VPS and spider-friendly URLs [Re: Rick]
Okusi Offline
member
Registered: 06/05/06
Posts: 163
Loc: Jakarta, Indonesia
thanks! got it! found it in /etc on my system.

i've already changed the php.ini file with the cgi.fix_pathinfo=1 setting. i cleared the cache, and tried again. alas, this time around, it didn't work.

i note that the PATH_INFO variable is not actually set to anything on my system. should i also set this??
_________________________
Okusi Associates -- Indonesian business and management services
Top
#180862 - 03/18/07 04:48 AM Re: VPS and spider-friendly URLs [Re: Okusi]
Gizmo Offline

Registered: 06/05/06
Posts: 14994
Loc: Portland, OR; USA
you could go into the apache configuration (you're on CentOS4 if your'e where I sugguested to go, so thats /etc/httpd/conf/httpd.conf) and scroll down to the bottom where your site is entered and add this in the options line:
AcceptPathInfo On

i'd try to say more, bu ti'm kinda timpsy and I need to find some foood so i'll be balc kater.
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top
#180864 - 03/18/07 06:19 AM Re: VPS and spider-friendly URLs [Re: Gizmo]
Okusi Offline
member
Registered: 06/05/06
Posts: 163
Loc: Jakarta, Indonesia
 Originally Posted By: Gizmo
you could go into the apache configuration (you're on CentOS4 if your'e where I sugguested to go, so thats /etc/httpd/conf/httpd.conf)


no, i'm on a singapore-based system, usonyx.com. but you did actually give me the idea to go for a VPS \:\) ... i've now consolidated my 8 domains in the one place for the very first time, at about the same cost overall, and with far more control over my systems. only problem is, i now can't blame the sysop when things go wrong \:\)

 Quote:
and scroll down to the bottom where your site is entered and add this in the options line:
AcceptPathInfo On

i'd try to say more, bu ti'm kinda timpsy and I need to find some foood so i'll be balc kater.

so you are actually wanting me to trust the word of someone under the influence?? ...
_________________________
Okusi Associates -- Indonesian business and management services
Top
#180865 - 03/18/07 06:23 AM Re: VPS and spider-friendly URLs [Re: Okusi]
SGHB1138 Offline

member
Registered: 12/12/06
Posts: 195
Loc: UK
LOL
_________________________
Stephen G
Geek Out @ Cinema Geek
Top
#180884 - 03/18/07 04:57 PM Re: VPS and spider-friendly URLs [Re: SGHB1138]
Gizmo Offline

Registered: 06/05/06
Posts: 14994
Loc: Portland, OR; USA
I do my best work while tipsy! lol...

But basically, you'll be giving your site access to utilize any options available in .htaccess files; I use it on all of mine that i need more control on and that I don't want to have to issue in the main apache configuration file.

An example:
 Code:
<VirtualHost 65.19.133.39:80>
##SuexecUserGroup "#504" "#501"
        ServerName undergroundnews.com
        ServerAlias www.undergroundnews.com
        DocumentRoot /home/ugn/public_html
        ErrorLog /home/ugn/logs/error_log
        CustomLog /home/ugn/logs/access_log combined
        ScriptAlias /cgi-bin/ /home/ugn/cgi-bin/
        <Directory /home/ugn/public_html>
                Options Indexes IncludesNOEXEC FollowSymLinks
                AllowOverride All
                AcceptPathInfo On
                allow from all
        </Directory>
</VirtualHost>
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top
#180926 - 03/19/07 06:18 AM Re: VPS and spider-friendly URLs [Re: Gizmo]
Okusi Offline
member
Registered: 06/05/06
Posts: 163
Loc: Jakarta, Indonesia
i've changed the php.ini file for cgi.fix_pathinfo = 1

i've changed the httpd.conf with AcceptPathInfo On in the relevant section.

still no joy on this.

will burnt offerings help in this case?

a sacrificial lamb, perhaps?
_________________________
Okusi Associates -- Indonesian business and management services
Top
#180963 - 03/19/07 04:39 PM Re: VPS and spider-friendly URLs [Re: Okusi]
Gizmo Offline

Registered: 06/05/06
Posts: 14994
Loc: Portland, OR; USA
cgi.fix_pathinfo is only in effect when PHP is compiled as a CGI; as you're on a VPS I highly doubt this is the case so it should not work.

The path info variable itself will be blank until a path is posted to a script.

As said, you have to update the options for the site's config to ether:
1. Have AcceptPathInfo On
2. Have AllowOverride All and a entry for AcceptPathInfo On in a .htaccess file in that sites webroot.
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top
Page 1 of 2 1 2 >



Moderator:  AllenAyres, Harold, Ian, Ron M 
Shout Box

Today's Birthdays
No Birthdays
Recent Topics
Ability to "like" individual posts (not Facebook "likes)
by doug
05/23/12 09:03 AM
Island Permissions
by ThreadsUser
05/22/12 03:03 PM
streaming video
by prkrgrp
05/20/12 07:02 PM
New Posts Corrupted? Can someone help?
by PianoWorld
05/19/12 09:41 AM
Custom forum permissions
by ntdoc
05/18/12 02:07 PM
Forum Stats
10489 Members
36 Forums
33841 Topics
181698 Posts

Max Online: 978 @ 06/24/07 11:19 PM
Random Image