List Info

Thread: short URLs and Apache 2.X




short URLs and Apache 2.X
user name
2006-04-19 19:08:18
> I wonder if there's something I can do to test if my
admin has done
> their part correctly... is there some PHP function I
can use to echo the
> directives that are set up in the httpd.conf file?

Something close perhaps.  You can temporarily put
"print_r($_SERVER);" into
one of your Xar PHP files, like at the bottom of index.php. 
This at least
shows what server-relevant variables are available to PHP.


Not sure if you're aware of this, but there are really 2
degrees of Short
URLs in Xar.  First there's http://mysite
.com/index.php/blah/blah/.  This
is accomplished in Xar alone with no .htaccess fiddling
needed (assuming
AcceptPathInfo is turned on).  But to get rid of the
index.php, a.k.a.
http://mysite.com/blah/b
lah/, you need mod_rewrite and .htaccess.  Each one
requires a slightly different setup at the bottom of
your /var/config.system.php, so make sure you look there
when
troubleshooting.




_______________________________________________
Xaraya_devel mailing list
Xaraya_develxaraya.com
http:
//xaraya.com/mailman/listinfo/xaraya_devel
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )