incorrect URLs

View: New views
6 Messages — Rating Filter:   Alert me  

incorrect URLs

by Andrew Broderick-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

Using Roller 4.0, on the main menu for my blog it shows the URL as being:

http://localhost/roller/blog-name

when it is not running on localhost. Also, when browsing the blog, if you click on comments, the link to go to comments is:

http://localhost/roller/blog-name/entry/testing_a_blog#comments

and this of course fails. Where does it store the URL information, and how do I fix it?

Thanks

_______________________________________________________

The  information in this email or in any file attached
hereto is intended only for the personal and confiden-
tial  use  of  the individual or entity to which it is
addressed and may contain information that is  propri-
etary  and  confidential.  If you are not the intended
recipient of this message you are hereby notified that
any  review, dissemination, distribution or copying of
this message is strictly prohibited.  This  communica-
tion  is  for information purposes only and should not
be regarded as an offer to sell or as  a  solicitation
of an offer to buy any financial product. Email trans-
mission cannot be guaranteed to be  secure  or  error-
free. P6070214

RE: incorrect URLs

by deligeli :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

What was your code to generate the URLs?

-----Original Message-----
From: Andrew Broderick [mailto:abroderick@...]
Sent: Thursday, June 19, 2008 6:26 PM
To: 'user@...'
Subject: incorrect URLs

Hi,

Using Roller 4.0, on the main menu for my blog it shows the URL as being:

http://localhost/roller/blog-name

when it is not running on localhost. Also, when browsing the blog, if you
click on comments, the link to go to comments is:

http://localhost/roller/blog-name/entry/testing_a_blog#comments

and this of course fails. Where does it store the URL information, and how
do I fix it?

Thanks

_______________________________________________________

The  information in this email or in any file attached
hereto is intended only for the personal and confiden-
tial  use  of  the individual or entity to which it is
addressed and may contain information that is  propri-
etary  and  confidential.  If you are not the intended
recipient of this message you are hereby notified that
any  review, dissemination, distribution or copying of
this message is strictly prohibited.  This  communica-
tion  is  for information purposes only and should not
be regarded as an offer to sell or as  a  solicitation
of an offer to buy any financial product. Email trans-
mission cannot be guaranteed to be  secure  or  error-
free. P6070214




 
 
****************************************************************************
********
This footnote confirms that this email message has been scanned by
PineApp Mail-SeCure for the presence of malicious code, vandals & computer
viruses.
****************************************************************************
********




RE: incorrect URLs

by Andrew Broderick-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I have no code ... I am just using Roller 4.0 as it comes, out of the box. I was just wondering if someone could point me in the right direction before I go digging through all the code to track down where URLs to comments etc. come from, so I can make it point to the right place.

Thanks

-----Original Message-----
From: Odelya YomTov-Glick [mailto:odelya@...]
Sent: Monday, June 23, 2008 2:20 AM
To: user@...
Subject: RE: incorrect URLs

What was your code to generate the URLs?

-----Original Message-----
From: Andrew Broderick [mailto:abroderick@...]
Sent: Thursday, June 19, 2008 6:26 PM
To: 'user@...'
Subject: incorrect URLs

Hi,

Using Roller 4.0, on the main menu for my blog it shows the URL as being:

http://localhost/roller/blog-name

when it is not running on localhost. Also, when browsing the blog, if you
click on comments, the link to go to comments is:

http://localhost/roller/blog-name/entry/testing_a_blog#comments

and this of course fails. Where does it store the URL information, and how
do I fix it?

Thanks

_______________________________________________________

The  information in this email or in any file attached
hereto is intended only for the personal and confiden-
tial  use  of  the individual or entity to which it is
addressed and may contain information that is  propri-
etary  and  confidential.  If you are not the intended
recipient of this message you are hereby notified that
any  review, dissemination, distribution or copying of
this message is strictly prohibited.  This  communica-
tion  is  for information purposes only and should not
be regarded as an offer to sell or as  a  solicitation
of an offer to buy any financial product. Email trans-
mission cannot be guaranteed to be  secure  or  error-
free. P6070214






****************************************************************************
********
This footnote confirms that this email message has been scanned by
PineApp Mail-SeCure for the presence of malicious code, vandals & computer
viruses.
****************************************************************************
********




RE: incorrect URLs

by deligeli :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Look in Weblog.VM and in the template user guide:
URLs are generated by $url. See where it's used in your Weblog.VM

-----Original Message-----
From: Andrew Broderick [mailto:abroderick@...]
Sent: Monday, June 23, 2008 8:04 PM
To: 'user@...'
Subject: RE: incorrect URLs

I have no code ... I am just using Roller 4.0 as it comes, out of the box. I
was just wondering if someone could point me in the right direction before I
go digging through all the code to track down where URLs to comments etc.
come from, so I can make it point to the right place.

Thanks

-----Original Message-----
From: Odelya YomTov-Glick [mailto:odelya@...]
Sent: Monday, June 23, 2008 2:20 AM
To: user@...
Subject: RE: incorrect URLs

What was your code to generate the URLs?

-----Original Message-----
From: Andrew Broderick [mailto:abroderick@...]
Sent: Thursday, June 19, 2008 6:26 PM
To: 'user@...'
Subject: incorrect URLs

Hi,

Using Roller 4.0, on the main menu for my blog it shows the URL as being:

http://localhost/roller/blog-name

when it is not running on localhost. Also, when browsing the blog, if you
click on comments, the link to go to comments is:

http://localhost/roller/blog-name/entry/testing_a_blog#comments

and this of course fails. Where does it store the URL information, and how
do I fix it?

Thanks

_______________________________________________________

The  information in this email or in any file attached
hereto is intended only for the personal and confiden-
tial  use  of  the individual or entity to which it is
addressed and may contain information that is  propri-
etary  and  confidential.  If you are not the intended
recipient of this message you are hereby notified that
any  review, dissemination, distribution or copying of
this message is strictly prohibited.  This  communica-
tion  is  for information purposes only and should not
be regarded as an offer to sell or as  a  solicitation
of an offer to buy any financial product. Email trans-
mission cannot be guaranteed to be  secure  or  error-
free. P6070214






****************************************************************************
********
This footnote confirms that this email message has been scanned by
PineApp Mail-SeCure for the presence of malicious code, vandals & computer
viruses.
****************************************************************************
********






 
 
****************************************************************************
********
This footnote confirms that this email message has been scanned by
PineApp Mail-SeCure for the presence of malicious code, vandals & computer
viruses.
****************************************************************************
********





Re: incorrect URLs

by Dave Johnson-8 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Thu, Jun 19, 2008 at 12:26 PM, Andrew Broderick
<abroderick@...> wrote:
> Using Roller 4.0, on the main menu for my blog it shows the URL as being:
>
> http://localhost/roller/blog-name
>
> when it is not running on localhost. Also, when browsing the blog, if you click on comments, the link to go to comments is:
>
> http://localhost/roller/blog-name/entry/testing_a_blog#comments
>
> and this of course fails. Where does it store the URL information, and how do I fix it?

Roller uses information from the request to determine the URL, so
Tomcat or whatever your app server is telling Roller that the URL
starts with "localhost"

I think you have two ways to fix this:
1) figure out how to make your app server or application server use
the right hostname
2) set the base path of Roller on the Server Admin page

- Dave

RE: incorrect URLs

by Andrew Broderick-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I figured that out in the end, as the problem 'fixed itself' over the weekend after nobody had been accessing it. I figured it must look at the URL.

Thanks anyway though.

Andrew

-----Original Message-----
From: Dave [mailto:snoopdave@...]
Sent: Tuesday, June 24, 2008 6:50 AM
To: user@...
Subject: Re: incorrect URLs

On Thu, Jun 19, 2008 at 12:26 PM, Andrew Broderick
<abroderick@...> wrote:
> Using Roller 4.0, on the main menu for my blog it shows the URL as being:
>
> http://localhost/roller/blog-name
>
> when it is not running on localhost. Also, when browsing the blog, if you click on comments, the link to go to comments is:
>
> http://localhost/roller/blog-name/entry/testing_a_blog#comments
>
> and this of course fails. Where does it store the URL information, and how do I fix it?

Roller uses information from the request to determine the URL, so
Tomcat or whatever your app server is telling Roller that the URL
starts with "localhost"

I think you have two ways to fix this:
1) figure out how to make your app server or application server use
the right hostname
2) set the base path of Roller on the Server Admin page

- Dave

_______________________________________________________

The  information in this email or in any file attached
hereto is intended only for the personal and confiden-
tial  use  of  the individual or entity to which it is
addressed and may contain information that is  propri-
etary  and  confidential.  If you are not the intended
recipient of this message you are hereby notified that
any  review, dissemination, distribution or copying of
this message is strictly prohibited.  This  communica-
tion  is  for information purposes only and should not
be regarded as an offer to sell or as  a  solicitation
of an offer to buy any financial product. Email trans-
mission cannot be guaranteed to be  secure  or  error-
free. P6070214
LightInTheBox - Buy quality products at wholesale price