Page cannot be displayed
Posted by: Rirre (---.tbcn.telia.com)
Date: February 28, 2008 09:39PM

Well hi,

Have had Wamp installed before but today I reinstall my comp with new operation system (Windows XP Home)
And I cannot really get Apache to work so everyone get access to the web.
I have access to the root (http://localhost)
First time I installed Wamp (for about 1 year ago)
so did I just change this in httpd.conf:
ServerName My IP Address:80
So did everything work for me then.
But now is everything messed up.

The router is portforwarded already.
Thanks in advance.



Edited 1 time(s). Last edit at 02/28/2008 09:39PM by Rirre.

Options: ReplyQuote
Re: Page cannot be displayed
Posted by: hambuler (---.cpe.net.cable.rogers.com)
Date: February 29, 2008 05:39AM

Either You need to setup the virtual host directives or you must edit DocumentRoot, Directory directives in httpd.conf file.

Options: ReplyQuote
Re: Page cannot be displayed
Posted by: Rirre (---.tbcn.telia.com)
Date: February 29, 2008 02:05PM

aww didn't work sad smiley
Anything wrong if its default on?
DocumentRoot "C:/wamp/www/"
<Directory "C:/wamp/www/">
looks OK for me, or is it wrong?

It should be something else

I wondering if its something with Directory
<Directory "C:/wamp/www/">

    #
    # Possible values for the Options directive are "None", "All",
    # or any combination of:
    #   Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
    #
    # Note that "MultiViews" must be named *explicitly* --- "Options All"
    # doesn't give it to you.
    #
    # The Options directive is both complicated and important.  Please see
    # [httpd.apache.org]
    # for more information.
    #
    Options Indexes FollowSymLinks

    #
    # AllowOverride controls what directives may be placed in .htaccess files.
    # It can be "All", "None", or any combination of the keywords:
    #   Options FileInfo AuthConfig Limit
    #
    AllowOverride all

    #
    # Controls who can get stuff from this server.
    #
#   onlineoffline tag - don't remove
    Order Allow,deny
    Allow from all

</Directory>
Or is it OK too?
I had problem with that
Order Allow,deny
Allow from all
before, I remember now when I saw that the first time I installed Wamp
so I used some lines from my old Apache 1.3.37 (httpd.conf) version then but now I don't have that
so I couldn't copy and paste from it.
It was more lines I added into it to get it to work, but seems like other people get it to work without change it.

Options: ReplyQuote
Re: Page cannot be displayed
Posted by: hambuler (---.cpe.net.cable.rogers.com)
Date: February 29, 2008 04:21PM

<Directory> setup looks good. You must change ServerName to something like
ServerName yourwebsitename.com:80

Make sure your router setup for port forwarding to 80 with your local IP address (192.168...) is correct.

Options: ReplyQuote
Re: Page cannot be displayed
Posted by: Rirre (---.tbcn.telia.com)
Date: February 29, 2008 04:33PM

have modify my ServerName already with the internet IP and port
ServerName IP:80

And yes, its forwarded to 80 with my local IP address, nothing wrong in the router.

Options: ReplyQuote
Re: Page cannot be displayed
Posted by: hambuler (---.cpe.net.cable.rogers.com)
Date: February 29, 2008 04:41PM

The ServerName directive must have either a local IP address (192.168....) or a domain name if you bought one.

Options: ReplyQuote
Re: Page cannot be displayed
Posted by: Rirre (---.tbcn.telia.com)
Date: February 29, 2008 04:59PM

I have found the problem now.
I did open UDP and TCP ports in the WIndows Firewall so did it work.
Thank you for help, hambuler smiling smiley



Edited 2 time(s). Last edit at 02/29/2008 05:00PM by Rirre.

Options: ReplyQuote
Re: Page cannot be displayed
Posted by: Rirre (---.tbcn.telia.com)
Date: February 29, 2008 05:27PM

Have a problem with MySQL now.
The template configuration file cannot be found at
C:\wamp\bin\mysql\mysql5.0.45\bin\my-template.cnf
How I create it?
Or were can I download it?

Options: ReplyQuote
Re: Page cannot be displayed
Posted by: hambuler (---.cpe.net.cable.rogers.com)
Date: February 29, 2008 05:31PM

Mysql Config file should be in mysql5.0.45 folder but not in bin folder. The name is my.ini. You can change its name by modifying wamserver.conf file in mysql5.0.45 folder.

Options: ReplyQuote
Re: Page cannot be displayed
Posted by: Rirre (---.tbcn.telia.com)
Date: February 29, 2008 05:45PM

Fixed.



Edited 1 time(s). Last edit at 02/29/2008 06:18PM by Rirre.

Options: ReplyQuote
Re: Page cannot be displayed
Posted by: hambuler (---.cpe.net.cable.rogers.com)
Date: February 29, 2008 06:53PM

No problem.

Options: ReplyQuote


Sorry, only registered users may post in this forum.