Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

is build_detail_url & build_root_url related?

Quote Reply
is build_detail_url & build_root_url related?
All of our urls are set as 'http://mysite.com' but if build_detail_url is set to 'http://www.mysite.com/Detailed' you get the error cannot find detailed page '.'

Anyone experience this issue? Is there an issue having two dots in the path name or do you have to consistently name all the paths the same way because they depend on each other?
Quote Reply
Re: [scorpioncapital] is build_detail_url & build_root_url related? In reply to
Do you have build detailed pages enabled in your admin?

If you do, check your paths, in the setup area, and make sure they make sense.

I believe there is a problem with setting the base path to / which is why links is by default put into a subdirectory: /links/pages /links/images etc.

If you want to have http://yourdomain.com go to the Links main directory, the best way is with a rewrite rule.

The second best way is using .htaccess you can define your DirectoryIndex

<directory /path/to/your/server/root>
DirectoryIndex index.html index.htm /path/to/links/index.html /path/to/links/page.cgi /path/to/error_page
</directory>

Don't quote me exactly on the above but I believe it's correct.


PUGDOG´┐Ż Enterprises, Inc.

The best way to contact me is to NOT use Email.
Please leave a PM here.
Quote Reply
Re: [pugdog] is build_detail_url & build_root_url related? In reply to
Yes there are some problems with relative urls. The only relative urls that, to my great relief works great relatively is <%build_images_url%>. If you set it to /images or whatever works great, the other stuff you have to do more digging..