Can't Load Resource Space after port change

734 views
Skip to first unread message

Jesus

unread,
Oct 11, 2010, 11:19:01 AM10/11/10
to ResourceSpace
I have ubuntu10, Apache 2 and resoucespace running in port 80. After
I change the apache port to 8080, the resourcespace page don't load.

Any advice?

Thanks

Tom Gleason

unread,
Oct 12, 2010, 6:22:48 AM10/12/10
to resour...@googlegroups.com
You need to add a colon and the port number to the IP address in the $baseurl if the port is non-standard (":80" is not necessary because it is assumed).
ex.
$baseurl="http://192.168.0.26:8080/resourcespace";

So, first you make sure you can access the IP address like this.

If you have a domain name, you'll probably need to set up a port 80 redirect with your DNS provider.




--
You received this message because you are subscribed to the Google Groups "ResourceSpace" group.
To post to this group, send email to resour...@googlegroups.com.
To unsubscribe from this group, send email to resourcespac...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/resourcespace?hl=en.




--
Tom Gleason, PHP Developer
DBA Impressive Design

Exploring ResourceSpace at:
http://resourcespace.blogspot.com

Jesus Feliciano

unread,
Oct 19, 2010, 2:45:31 PM10/19/10
to resour...@googlegroups.com
Thanks for the info, but I look around and not find couple of reference in the php files but no one with the server address.  Where I should change this?
 
Thanks,

Tom Gleason

unread,
Oct 19, 2010, 2:47:36 PM10/19/10
to resour...@googlegroups.com
Why do you need to change the port from 80? your host blocks it?

http://www.no-ip.com/

Paul Manno

unread,
Oct 19, 2010, 2:59:52 PM10/19/10
to resour...@googlegroups.com
$base_url in config.php

Paul Manno

unread,
Oct 19, 2010, 3:01:11 PM10/19/10
to resour...@googlegroups.com
actually it's $baseurl

Make it look like this:
$baseurl=http://<yourservername>:8080/<location>

Substituting your server name and the location of the base directory.

Jesus

unread,
Oct 21, 2010, 10:34:59 AM10/21/10
to ResourceSpace
Domian it's not hosted in our site, but we have couple of projects
that we want to maintain in our site (resourcespace, moddle and some
others in the future). We don't have a lot of experience working with
Domains/Subdomain before and we think it's the easiest way to redirect
the traffic from the hosted page to our facilities servers it's by
been port specific.

Any advice will be an asset.

Thanks


On Oct 19, 2:47 pm, Tom Gleason <theorysav...@gmail.com> wrote:
> Why do you need to change the port from 80? your host blocks it?
>
> http://www.no-ip.com/
>
> On Tue, Oct 19, 2010 at 2:45 PM, Jesus Feliciano
> <feliciano.je...@gmail.com>wrote:
>
>
>
>
>
> > Thanks for the info, but I look around and not find couple of reference in
> > the php files but no one with the server address.  Where I should change
> > this?
>
> > Thanks,
>
> > On Tue, Oct 12, 2010 at 6:22 AM, Tom Gleason <theorysav...@gmail.com>wrote:
>
> >> You need to add a colon and the port number to the IP address in the
> >> $baseurl if the port is non-standard (":80" is not necessary because it is
> >> assumed).
> >> ex.
> >> $baseurl="http://192.168.0.26:8080/resourcespace";
>
> >> So, first you make sure you can access the IP address like this.
>
> >> If you have a domain name, you'll probably need to set up a port 80
> >> redirect with your DNS provider.
>
> >>   On Mon, Oct 11, 2010 at 11:19 AM, Jesus <feliciano.je...@gmail.com>wrote:
>
> >>>  I have ubuntu10, Apache 2 and resoucespace running in port 80.  After
> >>> I change the apache port to 8080, the resourcespace page don't load.
>
> >>> Any advice?
>
> >>> Thanks
>
> >>> --
> >>> You received this message because you are subscribed to the Google Groups
> >>> "ResourceSpace" group.
> >>> To post to this group, send email to resour...@googlegroups.com.
> >>> To unsubscribe from this group, send email to
> >>> resourcespac...@googlegroups.com<resourcespace%2Bunsubscribe@goog­legroups.com>
> >>> .
> >>> For more options, visit this group at
> >>>http://groups.google.com/group/resourcespace?hl=en.
>
> >> --
> >> Tom Gleason, PHP Developer
> >> DBA Impressive Design
>
> >> Exploring ResourceSpace at:
> >>http://resourcespace.blogspot.com
>
> >> --
> >> You received this message because you are subscribed to the Google Groups
> >> "ResourceSpace" group.
> >> To post to this group, send email to resour...@googlegroups.com.
> >> To unsubscribe from this group, send email to
> >> resourcespac...@googlegroups.com<resourcespace%2Bunsubscribe@goog­legroups.com>
> >> .
> >> For more options, visit this group at
> >>http://groups.google.com/group/resourcespace?hl=en.
>
> >  --
> > You received this message because you are subscribed to the Google Groups
> > "ResourceSpace" group.
> > To post to this group, send email to resour...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > resourcespac...@googlegroups.com<resourcespace%2Bunsubscribe@goog­legroups.com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/resourcespace?hl=en.
>
> --
> Tom Gleason, PHP Developer
> DBA Impressive Design
>
> Exploring ResourceSpace at:http://resourcespace.blogspot.com- Hide quoted text -
>
> - Show quoted text -

Jesus

unread,
Oct 21, 2010, 1:23:57 PM10/21/10
to ResourceSpace
Thanks I found the line and changed, restart apache and mysql but when
try to load the page I received message 404 No Found The requested
URL /resourcespace/ was not found on this server.

Any advice?

On Oct 19, 3:01 pm, Paul Manno <pgma...@gmail.com> wrote:
> actually it's $baseurl
>
> Make it look like this:
>    $baseurl=http://<yourservername>:8080/<location>
>
> Substituting your server name and the location of the base directory.
>
>
>
> On Tue, Oct 19, 2010 at 1:59 PM, Paul Manno <pgma...@gmail.com> wrote:
> > $base_url in config.php
>
> > On Tue, Oct 19, 2010 at 1:45 PM, Jesus Feliciano
> > <feliciano.je...@gmail.com> wrote:
> >> Thanks for the info, but I look around and not find couple of reference in
> >> the php files but no one with the server address.  Where I should change
> >> this?
>
> >> Thanks,
>
> >> On Tue, Oct 12, 2010 at 6:22 AM, Tom Gleason <theorysav...@gmail.com> wrote:
>
> >>> You need to add a colon and the port number to the IP address in the
> >>> $baseurl if the port is non-standard (":80" is not necessary because it is
> >>> assumed).
> >>> ex.
> >>> $baseurl="http://192.168.0.26:8080/resourcespace";
>
> >>> So, first you make sure you can access the IP address like this.
>
> >>> If you have a domain name, you'll probably need to set up a port 80
> >>> redirect with your DNS provider.
>
> >>http://groups.google.com/group/resourcespace?hl=en.- Hide quoted text -

Paul Manno

unread,
Oct 21, 2010, 1:55:42 PM10/21/10
to resour...@googlegroups.com
What's the value of the $baseurl variable now? What URL were you
using previously to access your resourcespace installation? What
directory on your server has the resourcespace files?

This is probably an httpd config issue, or you have the files in the
wrong physical location.

Tom Gleason

unread,
Oct 21, 2010, 3:07:47 PM10/21/10
to resour...@googlegroups.com

Port open?

Jesus

unread,
Nov 2, 2010, 7:23:40 PM11/2/10
to ResourceSpace
The Base Url it's: $baseurl="http://192.168.1.101:8080/
resourcespace"; # no trailing slash

The working url: http://192.168.1.101/resourcespace

The location of the files it's: \var\www\resourcespace

I just change the port back and resourcespace work again with out any
relocation of files or installation. Just change port and base url
and everything work fine in port 80.

Any suggestions?

Thanks in advance
> >> >>> You need to add a colon and theportnumber to the IP address in the
> >> >>> $baseurl if theportis non-standard (":80" is not necessary because it is
> >> >>> assumed).
> >> >>> ex.
> >> >>> $baseurl="http://192.168.0.26:8080/resourcespace";
>
> >> >>> So, first you make sure you can access the IP address like this.
>
> >> >>> If you have a domain name, you'll probably need to set up aport80
> >> >>> redirect with your DNS provider.
>
> >> >>> On Mon, Oct 11, 2010 at 11:19 AM, Jesus <feliciano.je...@gmail.com> wrote:
>
> >> >>>> I have ubuntu10, Apache 2 and resoucespace running inport80.  After
> >> >>>> I change the apacheportto 8080, the resourcespace page don't load.
> >> >>http://groups.google.com/group/resourcespace?hl=en.-Hide quoted text -
>
> >> - Show quoted text -
>
> > --
> > You received this message because you are subscribed to the Google Groups "ResourceSpace" group.
> > To post to this group, send email to resour...@googlegroups.com.
> > To unsubscribe from this group, send email to resourcespac...@googlegroups.com.
> > For more options, visit this group athttp://groups.google.com/group/resourcespace?hl=en.- Hide quoted text -

Jeff Harmon

unread,
Nov 3, 2010, 4:12:01 PM11/3/10
to ResourceSpace
Did you answer Tom's question? Is port 8080 open? If there a
firewall at work here? Does the port work on any other site on the
same server?

- Jeff
> > >> >>http://groups.google.com/group/resourcespace?hl=en.-Hidequoted text -
>
> > >> - Show quoted text -
>
> > > --
> > > You received this message because you are subscribed to the Google Groups "ResourceSpace" group.
> > > To post to this group, send email to resour...@googlegroups.com.
> > > To unsubscribe from this group, send email to resourcespac...@googlegroups.com.
> > > For more options, visit this group athttp://groups.google.com/group/resourcespace?hl=en.-Hide quoted text -

Paul Manno

unread,
Nov 3, 2010, 4:25:52 PM11/3/10
to resour...@googlegroups.com
Tom and Jeff are probably right here. It's likely firewall related.
Can you reach the site at port 8080 on the machine that is running RS?
If so, try this:

/etc/init.d/iptables stop

Then try to go to the port 8080 url again from another machine. If it
works, you need to add a rule to iptables to allow the traffic.

http://linux.die.net/man/8/iptables

Jesus

unread,
Nov 11, 2010, 6:34:52 PM11/11/10
to ResourceSpace
I am testing behind the firewall but it's 8080 open for the outside
also. I will try your recomendations tomorrow.

On Nov 3, 4:25 pm, Paul Manno <pgma...@gmail.com> wrote:
> Tom and Jeff are probably right here.  It's likely firewall related.
> Can you reach the site atport8080 on the machine that is running RS?
>  If so, try this:
>
> /etc/init.d/iptables stop
>
> Then try to go to theport8080 url again from another machine.  If it
> works, you need to add a rule to iptables to allow the traffic.
>
> http://linux.die.net/man/8/iptables
>
> On Wed, Nov 3, 2010 at 3:12 PM, Jeff Harmon <jeffreyhhar...@gmail.com> wrote:
> > Did you answer Tom's question?  Isport8080 open?  If there a
> > firewall at work here?  Does theportwork on any other site on the
> > same server?
>
> > - Jeff
>
> > On Nov 2, 4:23 pm, Jesus <feliciano.je...@gmail.com> wrote:
> >> The Base Url it's:  $baseurl="http://192.168.1.101:8080/
> >> resourcespace"; # no trailing slash
>
> >> The working url:http://192.168.1.101/resourcespace
>
> >> The location of the files it's: \var\www\resourcespace
>
> >> I justchangetheportback and resourcespace work again with out any
> >> relocation of files or installation.  Justchangeportand base url
> >> > >> >>>> Ichangethe apacheportto 8080, the resourcespace page don't load.
> >> > >> >>http://groups.google.com/group/resourcespace?hl=en.-Hidequotedtext -
>
> >> > >> - Show quoted text -
>
> >> > > --
> >> > > You received this message because you are subscribed to the Google Groups "ResourceSpace" group.
> >> > > To post to this group, send email to resour...@googlegroups.com.
> >> > > To unsubscribe from this group, send email to resourcespac...@googlegroups.com.
> >> > > For more options, visit this group athttp://groups.google.com/group/resourcespace?hl=en.-Hidequoted text -

Jesus

unread,
Nov 22, 2010, 2:30:09 PM11/22/10
to ResourceSpace
I can't reach the site at port 8080 on the machine that is running RS.



On Nov 3, 4:25 pm, Paul Manno <pgma...@gmail.com> wrote:
> Tom and Jeff are probably right here.  It's likely firewall related.
> Can you reach the site atport8080 on the machine that is running RS?
>  If so, try this:
>
> /etc/init.d/iptables stop
>
> Then try to go to theport8080 url again from another machine.  If it
> works, you need to add a rule to iptables to allow the traffic.
>
> http://linux.die.net/man/8/iptables
>
>
>
> On Wed, Nov 3, 2010 at 3:12 PM, Jeff Harmon <jeffreyhhar...@gmail.com> wrote:
> > Did you answer Tom's question?  Isport8080 open?  If there a
> > firewall at work here?  Does theportwork on any other site on the
> > same server?
>
> > - Jeff
>
> > On Nov 2, 4:23 pm, Jesus <feliciano.je...@gmail.com> wrote:
> >> The Base Url it's:  $baseurl="http://192.168.1.101:8080/
> >> resourcespace"; # no trailing slash
>
> >> The working url:http://192.168.1.101/resourcespace
>
> >> The location of the files it's: \var\www\resourcespace
>
> >> I just change theportback and resourcespace work again with out any
> >> relocation of files or installation.  Just changeportand base url
> >> > >> >>http://groups.google.com/group/resourcespace?hl=en.-Hidequotedtext -
>
> >> > >> - Show quoted text -
>
> >> > > --
> >> > > You received this message because you are subscribed to the Google Groups "ResourceSpace" group.
> >> > > To post to this group, send email to resour...@googlegroups.com.
> >> > > To unsubscribe from this group, send email to resourcespac...@googlegroups.com.
> >> > > For more options, visit this group athttp://groups.google.com/group/resourcespace?hl=en.-Hidequoted text -
>
> >> > - Show quoted text -
>
> > --
> > You received this message because you are subscribed to the Google Groups "ResourceSpace" group.
> > To post to this group, send email to resour...@googlegroups.com.
> > To unsubscribe from this group, send email to resourcespac...@googlegroups.com.
> > For more options, visit this group athttp://groups.google.com/group/resourcespace?hl=en.- Hide quoted text -

Paul Manno

unread,
Nov 22, 2010, 3:17:01 PM11/22/10
to resour...@googlegroups.com
Must be an apache configuration problem then. Check for the following
in your /etc/httpd/conf/httpd.conf file

Listen 8080

You must also set up a virtual host configuration for that port like this:
<VirtualHost *:8080>
ServerAdmin webm...@dummy-host.example.com
DocumentRoot /www/docs/dummy-host.example.com
ServerName dummy-host.example.com
ErrorLog logs/dummy-host.example.com-error_log
CustomLog logs/dummy-host.example.com-access_log common
</VirtualHost>

You can replace the *:8080 with <your_server_ip_address>:8080 if you
like. I'd start out with the * though unless you have this box
serving other websites that use that port. Where the ServerAdmin is
your admin's email address, the DocumentRoot is the ResourceSpace
directory, the ServerName is the ResourceSpace server name and your
log file locations exist.

Reply all
Reply to author
Forward
0 new messages