Here is what I have tried
<script type="text/javascript">
var GB_ROOT_DIR = "./greybox/";
</script>
<script type="text/javascript" src="./greybox/AJS.js"></script>
<script type="text/javascript" src="./greybox/AJS_fx.js"></script>
<script type="text/javascript" src="./greybox/gb_scripts.js"></
script>
<link href="./greybox/gb_styles.css" rel="stylesheet" type="text/
css" media="all" />
and
<script type="text/javascript">
var GB_ROOT_DIR = "http://monte.storage-mart.com/
storagemartweb/greybox/";
</script>
<script type="text/javascript" src="./greybox/AJS.js"></script>
<script type="text/javascript" src="./greybox/AJS_fx.js"></script>
<script type="text/javascript" src="./greybox/gb_scripts.js"></
script>
<link href="./greybox/gb_styles.css" rel="stylesheet" type="text/
css" media="all" />
and
<script type="text/javascript">
var GB_ROOT_DIR = "http://monte.storage-mart.com/
storagemartweb/greybox/";
</script>
<script type="text/javascript" src="http://monte.storage-mart.com/
storagemartweb/greybox/AJS.js"></script>
<script type="text/javascript" src="http://monte.storage-mart.com/
storagemartweb/greybox/AJS_fx.js"></script>
<script type="text/javascript" src="http://monte.storage-mart.com/
storagemartweb/greybox/gb_scripts.js"></script>
<link href="http://monte.storage-mart.com/storagemartweb/greybox/
gb_styles.css" rel="stylesheet" type="text/css" media="all" />
if I use
http://monte.storage-mart.com/storagemartweb/locations.aspx, the
greybox works like a charm.
If I use the url rewrite
http://monte.storage-mart.com/storagemartweb/self_storage/storage_mart/locations
I get page can not be displayed. File not found.
If I look at the header, I can see it is looking in the wrong spot for
the files/
http://monte.storage-mart.com/storagemartweb/self_storage/storage_mart/greybox/header_bg.gif
Thanks for any help you can give
On Mar 3, 7:30 am, Logos <[email protected]> wrote:
> You most likely have your GB_ROOT_DIR variable set incorrectly.
> Seehttp://malthusian-solutions.com/ms/index.php?q=node/6for
> troubleshooting.
>
> --
> Tyler Stylehttp://malthusian-solutions.comhttp://nirdvana.com
>
>
>
> Monte wrote:
> > I am having an issue with Greybox on pages theat utilize IIS with 2008
> > URL rewriter.
>
> > My URL looks like this
>
> > http://<myserver>.com/storagemartweb/self_storage/Oakland_California_CA/94612/2451
>
> > I am using GB_showCenter. When I click on my link with an href = /
> > storagemartweb/UnitAvailability.aspx
>
> > it comes up with page can not be displayed. If you look at the path,
> > it is adding the greybox and page to the end of the rewritten url
> > (example:
> > http://<myserver>.com/storagemartweb/self_storage/Oakland_California_CA/94612/2451/greybox/greybox/header_bg.gif
>
> > I thought if I changed the href to include the full path it might help
> > (example: http://<myserver>.com/storagemartweb/UnitAvailability.aspx)
> > it might help, but same results.
>
> > Is the a work around for this or am I doing something wrong?
>
> > Thanks for any help anyone might have.- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"GreyBox" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/greybox?hl=en
-~----------~----~----~----~------~----~------~--~---