Help connections are being refused!

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Help connections are being refused!

Postby panhandler » 26. July 2007 23:42

Im using virutal host to host a domain i have i used http://webdevnewbie.com/2007/05/21/how-to-setup-apache-virtualhost-for-a-domain-name-using-dynamic-dns-linux-and-windows/
to set up my domain / server and im getting refused ) = my domain is http://www.obsidianmirage.com
I need help any questions you have for me ill do my best to answer
Iv been toying with htis for a day and a 1/2 now im turning to you guys for help thanks in advance!
and yes port 80 is open
my url is sucessfully going to my ip but it gets blocked there. Any suggestions?
Oh and also i have a static ip reserved by my router
I disabled windows firewall.
Port forwarding port 80 to the server computer.
Last edited by panhandler on 27. July 2007 06:16, edited 1 time in total.
panhandler
 
Posts: 4
Joined: 26. July 2007 23:35

Re: Help connections are being refuesed!

Postby panhandler » 27. July 2007 00:35

panhandler wrote:Im using virutal host to host a domain i have i used http://webdevnewbie.com/2007/05/21/how-to-setup-apache-virtualhost-for-a-domain-name-using-dynamic-dns-linux-and-windows/
to set up my domain / server and im getting refused ) = my domain is http://www.obsidianmirage.com
I need help any questions you have for me ill do my best to answer
Iv been toying with htis for a day and a 1/2 now im turning to you guys for help thanks in advance!
and yes port 80 is open
my url is sucessfully going to my ip but it gets blocked there. Any suggestions?
Oh and also i have a static ip reserved by my router
I disabled windows firewall.
Port forwarding port 80 to the server computer.


lol And heres my error log.

[Sat May 18 17:53:01 2002] [crit] (22)Invalid argument: unable to replace stderr with error_log
[Sat May 18 17:53:01 2002] [crit] (2)No such file or directory: unable to replace stderr with /dev/null
[Sat May 18 17:53:01 2002] [crit] (22)Invalid argument: unable to replace stderr with error_log
[Sat May 18 17:53:01 2002] [crit] (2)No such file or directory: unable to replace stderr with /dev/null
[Sat May 18 17:53:02 2002] [notice] Apache/2.2.4 (Win32) DAV/2 mod_ssl/2.2.4 OpenSSL/0.9.8e mod_autoindex_color PHP/5.2.3 configured -- resuming normal operations
[Sat May 18 17:53:02 2002] [notice] Server built: Mar 5 2007 11:23:00
[Sat May 18 17:53:02 2002] [notice] Parent: Created child process 1608
[Sat May 18 17:53:03 2002] [notice] Child 1608: Child process is running
[Sat May 18 17:53:03 2002] [notice] Child 1608: Acquired the start mutex.
[Sat May 18 17:53:03 2002] [notice] Child 1608: Starting 250 worker threads.
[Sat May 18 17:53:03 2002] [notice] Child 1608: Starting thread to listen on port 443.
[Sat May 18 17:53:03 2002] [notice] Child 1608: Starting thread to listen on port 80.
panhandler
 
Posts: 4
Joined: 26. July 2007 23:35

Re: Help connections are being refuesed!

Postby panhandler » 27. July 2007 00:37

panhandler wrote:Im using virutal host to host a domain i have i used http://webdevnewbie.com/2007/05/21/how-to-setup-apache-virtualhost-for-a-domain-name-using-dynamic-dns-linux-and-windows/
to set up my domain / server and im getting refused ) = my domain is http://www.obsidianmirage.com
I need help any questions you have for me ill do my best to answer
Iv been toying with htis for a day and a 1/2 now im turning to you guys for help thanks in advance!
and yes port 80 is open
my url is sucessfully going to my ip but it gets blocked there. Any suggestions?
Oh and also i have a static ip reserved by my router
I disabled windows firewall.
Port forwarding port 80 to the server computer.


I configured Virtual hosts to host that dowmain up there and localhost and local host works fine the domain does not. ) ;

My code for that is Here

NameVirtualHost *:80


<Directory d:/users/>
Order Deny,Allow
Allow from all
</Directory>

<VirtualHost *:80>
ServerName localhost
ServerAdmin admin@localhost
DocumentRoot "d:/xampp/htdocs"
</VirtualHost>

<VirtualHost *:80>
ServerAdmin admin@obsidianmirage.com
DocumentRoot D:/users/obsidianmirage.com/public_html
ServerName www.obsidianmirage.com
ServerAlias obsidianmirage.com
ErrorLog D:/users/obsidianmirage.com/logs/error.log
CustomLog D:/users/obsidianmirage.com/logs/access.log common
</VirtualHost>
panhandler
 
Posts: 4
Joined: 26. July 2007 23:35

Re: Help connections are being refuesed!

Postby Eric Pement » 27. July 2007 04:11

panhandler wrote:Im using virutal host to host a domain i have i used http://webdevnewbie.com/2007/05/21/how-to-setup-apache-virtualhost-for-a-domain-name-using-dynamic-dns-linux-and-windows/
to set up my domain / server and im getting refused ) = my domain is http://www.obsidianmirage.com
I need help any questions you have for me ill do my best to answer
Iv been toying with htis for a day and a 1/2 now im turning to you guys for help thanks in advance!

I received a great deal of help from this page: http://myblogit.net/2007/06/26/4-steps- ... n-windows/

In your hosts file, put in:
Code: Select all
127.0.0.1        obsidianmirage.com
127.0.0.1    www.obsidianmirage.com


In the httpd-vhosts.conf file, put in:
Code: Select all
<VirtualHost *:80>
ServerName     www.obsidianmirage.com
ServerAlias        obsidianmirage.com
ServerAdmin    yourname@obsidianmirage.com
DocumentRoot   d:/users/obsidianmirage.com/public_html

ErrorLog     d:/users/obsidianmirage.com/logs/error.log
CustomLog    d:/users/obsidianmirage.com/logs/access.log common

<Directory />
Options FollowSymLinks
AllowOverride All
</Directory>

<Directory   d:/users/obsidianmirage.com/public_html >
Options Indexes FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>

<IfModule alias_module>
ScriptAlias /cgi/ d:/users/obsidianmirage.com/cgi/
</IfModule>

<Directory   d:/users/obsidianmirage.com/cgi >
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>

</VirtualHost>

Then use the XAMPP Control Panel Application to stop the apache server, refresh it, and restart the application. Then try logging into your website by the direct url, "http://www.obsidianmirage.com".

Note that this will also allow you to have links in your web forms that look like this:
Code: Select all
<form method="post" action="/cgi/yourscript.cgi">
and thus the HTML code you use on your development computer can be copied to the live, production server as-is, without changing anything.

Hope this helps, and let us know how it works for you. It does seem to work for me.
Eric Pement - pemente [at] northpark [dot] edu
Eric Pement
 
Posts: 25
Joined: 19. May 2007 18:35

Postby panhandler » 27. July 2007 05:47

Thank you! still doesnt work though ) ; it still says acess denied it doesnt even go to a page just a popup ): im going to try a fresh install of xampp i guess :shock:
<edit>Still doesnt work im so lost why wouldnt this work? is my http://www.zoneedit.com/ not set up ? is it not linking im just not sure why this would not work.</edit>
panhandler
 
Posts: 4
Joined: 26. July 2007 23:35


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 135 guests