going into new dirs not working
Posted by: natherul (---.tbcn.telia.com)
Date: October 19, 2009 12:07PM

I have gotten its to work now that it can connect to hte main index file i got in the main ww dir but when i link form there into a new folder like: mainadress/cabal/ its not working anymore

any idea on how i can fix this problem?

Options: ReplyQuote
Re: going into new dirs not working
Posted by: toumimi (---.adslgp.cegetel.net)
Date: October 19, 2009 12:23PM

Use 'http://localhost/cabal/' or 'http://127.0.0.1/cabal' to open your project cabal

For security, wamp is only available on the local computer but you can change this behaviour if you want...

Florian

WampServer Patch (Screenshots)
Topic EN : www.wampserver.com
Topic FR : www.wampserver.com

Options: ReplyQuote
Re: going into new dirs not working
Posted by: natherul (---.tbcn.telia.com)
Date: October 19, 2009 01:27PM

well i want it to be possible to open it over the lan and internet and i got it to work over the internet and lan to show the 'http://192.168.0.102/index.html' and in that file there it links to some other site as example /cabal/ but that one is not accessible for some reason.. any idea why?



Edited 1 time(s). Last edit at 10/19/2009 01:28PM by natherul.

Options: ReplyQuote
Re: going into new dirs not working
Posted by: toumimi (---.adslgp.cegetel.net)
Date: October 19, 2009 01:44PM

You need to put Wamp online (from wamp menu) and to open apache port in your router (80 by default).

If '192.168.0.102' is your server, you need to check if you can access to cabal project locally.
On this computer, open 'http://localhost/cabal' and test if you are able to open it.

Florian

WampServer Patch (Screenshots)
Topic EN : www.wampserver.com
Topic FR : www.wampserver.com

Options: ReplyQuote
Re: going into new dirs not working
Posted by: natherul (---.tbcn.telia.com)
Date: October 19, 2009 01:51PM

i looked more into it now and the min issue is (as it worked before) my ISP seem to have blocked port 80 so im trying to use a port 80 redirect using a no-ip service and on the router i have forwarded both port 80 and the new one to the server but it seems the problem lay in the apache httpd.conf file as with it listening to port 80 it works over the lan and locally but not over internet and with it on port 8080 there (the new port) it will only work to get to the index file in the main folder over the internet and not locally or over the lan...

Options: ReplyQuote
Re: going into new dirs not working
Posted by: toumimi (---.adslgp.cegetel.net)
Date: October 19, 2009 02:11PM

Quote

it will only work to get to the index file in the main folder over the internet and not locally or over the lan...
I think there is a cache somethere to show you index page because there is no reason that you can't open your projects if server is available over the Internet (can join main index page).

To access the server on LAN, don't use your public ip (read from your no-ip address), or you need to add your no-ip address in your hosts file.
Problem is that some routers block access using public ip from lan computers (loopback).

a) From online access, use your public ip address (or no-ip dns)
b) From local or lan access, use the server lan ip address.

There is still a problem with your online access => Can't join projects.

Confirm me that my two rules work fine (online and lan access)..

Florian

WampServer Patch (Screenshots)
Topic EN : www.wampserver.com
Topic FR : www.wampserver.com

Options: ReplyQuote
Re: going into new dirs not working
Posted by: natherul (---.tbcn.telia.com)
Date: October 19, 2009 02:28PM

well i allready knew that over the lan i need to specify 'http://192.168.0.102' instead of tueweb.no-ip.org

and as i said before diff settings 1 work the other does not

Options: ReplyQuote
Re: going into new dirs not working
Posted by: natherul (---.tbcn.telia.com)
Date: October 19, 2009 02:30PM

if you know what to do tell me how to set it up from the scratch to work considering that my ISP blocked port 80

Options: ReplyQuote
Re: going into new dirs not working
Posted by: toumimi (---.adslgp.cegetel.net)
Date: October 19, 2009 02:53PM

You can change port listened by Apache.
I developped a patch which let you doing this just from wamp menu.
It should work even if you changed your port.
Test with a port you didn't configure, example : 8081

Configure your router with the new port
(external)8081 192.168.0.102 (internal)8081

Access the server in local with 'http://192.168.0.102:8081/index.php'
Access the server over the internet with 'http://tueweb.no-ip.org:8081/index.php'

EDIT : I tested your website and could not access your main index page...

Florian

WampServer Patch (Screenshots)
Topic EN : www.wampserver.com
Topic FR : www.wampserver.com



Edited 1 time(s). Last edit at 10/19/2009 02:54PM by toumimi.

Options: ReplyQuote
Re: going into new dirs not working
Posted by: natherul (---.tbcn.telia.com)
Date: October 19, 2009 04:08PM

ok i got it working now exept one thing... it changed my SQL root username... how do i change that in the console?

Options: ReplyQuote
Re: going into new dirs not working
Posted by: toumimi (---.adslgp.cegetel.net)
Date: October 19, 2009 05:30PM

Quote

it changed my SQL root username
What changed your root username and what does that mean ?

You changed root password ? You setted up a new user ?

Florian

WampServer Patch (Screenshots)
Topic EN : www.wampserver.com
Topic FR : www.wampserver.com

Options: ReplyQuote
Re: going into new dirs not working
Posted by: yfastud (Moderator)
Date: October 19, 2009 08:00PM

to setup password, follow this
[blog.jlbn.net]

to setup db, follow this
[blog.jlbn.net]

to setup access, follow this
[blog.jlbn.net]

to setup dns, follow this
[blog.jlbn.net]

to setup vh, follow this
[blog.jlbn.net]

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides

Options: ReplyQuote


Sorry, only registered users may post in this forum.