Welcome to Tech Support Forum home to more then 136,000 problems solved. Issues have included: Spyware, Malware, Virus Issues, Windows, Microsoft, Linux, Networking, Security, Hardware, and Gaming Getting your problem solved is as easy as:
1. Registering for a free account
2. Asking your question
3. Receiving an answer

Registered members:
* Get free support
* Communicate privately with other members (PM).
* Removal of this message
* See fewer ads.
* And much more..

 





Want to know how to post a question? click here Having problems with spyware and pop-ups? First Steps
Go Back   Tech Support Forum > Design Forum > Web Design & Programming
User Name
Password
Site Map Register Donate Rules Blogs Mark Forums Read

Web Design & Programming Discussion of web design, and server-side & client-side scripting

Reply
 
Thread Tools
Old 12-02-2005, 12:05 AM   #21 (permalink)
Manager, Alternative Comp
 
Skie's Avatar
 
Join Date: Mar 2003
Location: Downers Grove, IL
Posts: 1,821
OS: Gentoo Linux, Redhat Enterprise Linux, CentOS

My System

Are you able to start Apache now?
__________________
Skie is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Bookmark on Thread SoupReddit!
Reply With Quote
Old 12-02-2005, 06:55 AM   #22 (permalink)
Register user
 
krakozia's Avatar
 
Join Date: Nov 2005
Location: russia
Posts: 50
OS: xp


Send a message via AIM to krakozia Send a message via MSN to krakozia
Question Well it doesn't say missing apache

It doesn't say missing apache now. Now it says this but i allways get this what file to i edit to make this work?


krakozia is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Bookmark on Thread SoupReddit!
Reply With Quote
Old 12-02-2005, 09:54 AM   #23 (permalink)
Manager, Alternative Comp
 
Skie's Avatar
 
Join Date: Mar 2003
Location: Downers Grove, IL
Posts: 1,821
OS: Gentoo Linux, Redhat Enterprise Linux, CentOS

My System

If you try stop, then start, do you still get that error?
__________________
Skie is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Bookmark on Thread SoupReddit!
Reply With Quote
Old 12-02-2005, 10:35 AM   #24 (permalink)
Register user
 
krakozia's Avatar
 
Join Date: Nov 2005
Location: russia
Posts: 50
OS: xp


Send a message via AIM to krakozia Send a message via MSN to krakozia
OK GOOD NO ERRORS now how do i configure it all like i just want to run a basic web hosting site
krakozia is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Bookmark on Thread SoupReddit!
Reply With Quote
Old 12-02-2005, 01:14 PM   #25 (permalink)
Manager, Alternative Comp
 
Skie's Avatar
 
Join Date: Mar 2003
Location: Downers Grove, IL
Posts: 1,821
OS: Gentoo Linux, Redhat Enterprise Linux, CentOS

My System

Click on Start->All Programs->Apache HTTP Server->Configure Apache Server->Edit the Apache httpd.conf Configuration File.

This should open up a Notepad window with a bunch of stuff. You don't have to go through it line by line, but you do need to at least skim it. If you scroll all the way to the bottom, you'll see a section that's commented out. It should say "VirtualHost". You'll need to create a VirtualHost section and then restart Apache once you've saved the changes. The one they give you is just an example, so use that to create your own.
__________________
Skie is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Bookmark on Thread SoupReddit!
Reply With Quote
Old 12-05-2005, 01:29 PM   #26 (permalink)
Register user
 
krakozia's Avatar
 
Join Date: Nov 2005
Location: russia
Posts: 50
OS: xp


Send a message via AIM to krakozia Send a message via MSN to krakozia
but like what should i put as my virtual host i dont know what that is
krakozia is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Bookmark on Thread SoupReddit!
Reply With Quote
Old 12-05-2005, 06:34 PM   #27 (permalink)
Cymru am byth
 
DumberDrummer's Avatar
 
Join Date: Oct 2003
Location: Oregon
Posts: 5,377
OS: Windows XP Pro SP2

My System

Send a message via AIM to DumberDrummer Send a message via Yahoo to DumberDrummer
This is the virtualhosts section of my httpd.conf file:

Code:
<VirtualHost *>
ServerName www.gamelazer.com
ServerAlias gamelazer.com
DocumentRoot C:\apache2triad\htdocs
</VirtualHost>

<VirtualHost *>
ServerName dumberdrummer.gamelazer.com
DocumentRoot C:\apache2triad\htdocs\dumberdrummer
</VirtualHost>
Basically, it tells apache what your domain name is, what the alias is, and where the document root is (Where the files that will be shown when you access the given serverName in a browser.)

The second is for a subdomain, dumberdrummer.gamelazer.com. I simply added a folder in my htdocs folder and told it to be used as dumberdrummer.gamelazer.com.

Simple. So just replace the already there values with the correct ones and you should be good.
__________________

Living with Louie dog's the only way to stay sane
_____________________________________________

... and with those words so begins my lifetime of longing for the devil's warm embrace
DumberDrummer is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Bookmark on Thread SoupReddit!
Reply With Quote
Old 12-05-2005, 07:17 PM   #28 (permalink)
Register user
 
krakozia's Avatar
 
Join Date: Nov 2005
Location: russia
Posts: 50
OS: xp


Send a message via AIM to krakozia Send a message via MSN to krakozia
Question

when i look at it, it says this

#<VirtualHost *:80>
# ServerAdmin webmaster@dummy-host.example.com
# DocumentRoot /www/docs/dummy-host.example.com
# ServerName sr-hosting.no-ip.org
# ErrorLog logs/dummy-host.example.com-error_log
# CustomLog logs/dummy-host.example.com-access_log common
#</VirtualHost>

i changed the part where it says server name


see if u look at skies homepage thats what i want basicly exactly what he has except i have my own layout and for the info that i know is.....

my url

sr-hosting.no-ip.org

my e-mail

cookiemonster3000@hotmail.com

server name:

sr-hosting.no-ip.org (i registered apache with this info)

Last edited by krakozia : 12-05-2005 at 07:43 PM. Reason: didn't put enough info
krakozia is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Bookmark on Thread SoupReddit!
Reply With Quote
Old 12-05-2005, 09:36 PM   #29 (permalink)
Manager, Alternative Comp
 
Skie's Avatar
 
Join Date: Mar 2003
Location: Downers Grove, IL
Posts: 1,821
OS: Gentoo Linux, Redhat Enterprise Linux, CentOS

My System

Here's an example of one of my Virtual Hosts:

Code:
NameVirtualHost 1.2.3.4:80

<VirtualHost 1.2.3.4>
ServerAdmin myaddress@domain.com
DocumentRoot /home/username/public_html
ServerName www.domain.com
User username
Group username
ServerAlias domain.com www.domain.com
CustomLog domlogs/domain.com combined
ScriptAlias /cgi-bin/ /home/username/public_html/cgi-bin/
</VirtualHost>
Make sure you use YOUR IP address in place of the "1.2.3.4". Also, replace all instances of "domain.com" with your domain and "username" with your username.

Some other changes you need to make are the following (since you're on Windows):

For any file/folder paths, use the Windows convention, not the Linux convention as shown above. In other words, the DocumentRoot line should look like: "DocumentRoot C:\website\" (or something similar).

Remove the #'s in front of each line. The # means that the line is a comment, and therefore, those lines will not be looked at.

Once you've made the changes, restart Apache.
__________________

Last edited by Skie : 12-05-2005 at 09:39 PM.
Skie is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Bookmark on Thread SoupReddit!
Reply With Quote
Old 12-06-2005, 01:22 PM   #30 (permalink)
Register user
 
krakozia's Avatar
 
Join Date: Nov 2005
Location: russia
Posts: 50
OS: xp


Send a message via AIM to krakozia Send a message via MSN to krakozia
but could u maybe tell me what i need to change?
krakozia is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Bookmark on Thread SoupReddit!
Reply With Quote
Old 12-06-2005, 01:52 PM   #31 (permalink)
Manager, Alternative Comp
 
Skie's Avatar
 
Join Date: Mar 2003
Location: Downers Grove, IL
Posts: 1,821
OS: Gentoo Linux, Redhat Enterprise Linux, CentOS

My System

Please re-read what I posted. You can copy/paste what I provided, but you'll need to make changes. I've specified what needs to be changed. Since I don't know where your HTML files are located and since I don't know your username, I can't tell you what to write down.
__________________
Skie is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Bookmark on Thread SoupReddit!
Reply With Quote
Old 12-06-2005, 04:12 PM   #32 (permalink)
Register user
 
krakozia's Avatar
 
Join Date: Nov 2005
Location: russia
Posts: 50
OS: xp


Send a message via AIM to krakozia Send a message via MSN to krakozia
once again can u edit what i need and paste it on here so i can change it?


Code:
#<VirtualHost *:80>
# ServerAdmin webmaster@dummy-host.example.com
# DocumentRoot /www/docs/dummy-host.example.com
# ServerName sr-hosting.no-ip.org
# ErrorLog logs/dummy-host.example.com-error_log
# CustomLog logs/dummy-host.example.com-access_log common
#</VirtualHost>
krakozia is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Bookmark on Thread SoupReddit!
Reply With Quote
Old 12-06-2005, 05:16 PM   #33 (permalink)
Cymru am byth
 
DumberDrummer's Avatar
 
Join Date: Oct 2003
Location: Oregon
Posts: 5,377
OS: Windows XP Pro SP2

My System

Send a message via AIM to DumberDrummer Send a message via Yahoo to DumberDrummer
ok, we've both told you what to do, and now skie just told you that he CAN'T do what you are asking him to do.

You will have to do it yourself, just reread our posts.
__________________

Living with Louie dog's the only way to stay sane
_____________________________________________

... and with those words so begins my lifetime of longing for the devil's warm embrace
DumberDrummer is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Bookmark on Thread SoupReddit!
Reply With Quote
Old 12-06-2005, 06:20 PM   #34 (permalink)
Register user
 
krakozia's Avatar
 
Join Date: Nov 2005
Location: russia
Posts: 50
OS: xp


Send a message via AIM to krakozia Send a message via MSN to krakozia
what username and what html files and when i try copying the code u told me skie and pasteing it and editing everything i can it and restart apache it says failed to do the requested option so what do i do this is annoying me
krakozia is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Bookmark on Thread SoupReddit!
Reply With Quote
Old 12-06-2005, 09:57 PM   #35 (permalink)
Cymru am byth
 
DumberDrummer's Avatar
 
Join Date: Oct 2003
Location: Oregon
Posts: 5,377
OS: Windows XP Pro SP2

My System

Send a message via AIM to DumberDrummer Send a message via Yahoo to DumberDrummer
#<VirtualHost *:80> <-- REPLACE THIS WITH YOUR IP ADDRESS (192.168.0.2 or something like that, hit start, then run and type cmd. When the window pops up, type ipconfig and it will display your ip address.
# ServerAdmin webmaster@dummy-host.example.com <-- REPLACE THIS WITH YOUR EMAIL ADDRESS
# DocumentRoot /www/docs/dummy-host.example.com <-- REPLACE THIS WITH THE PATH TO YOUR FILES YOU WANT TO SHOW UP ON YOUR SERVER. (For example, C:\htdocs. Then you put all of your files in c:\htdocs and they'll show up on the server.
# ServerName sr-hosting.no-ip.org (You have this right, I think)
# ErrorLog logs/dummy-host.example.com-error_log (Replace with the path to your error log. C:\logs\foo
# CustomLog logs/dummy-host.example.com-access_log common (same as above)
#</VirtualHost>

That's all there is to it. Then restart apache (Or just restart your computer) and all should work. Remove the #s as well or else nothing will work.
__________________

Living with Louie dog's the only way to stay sane
_____________________________________________

... and with those words so begins my lifetime of longing for the devil's warm embrace
DumberDrummer is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Bookmark on Thread SoupReddit!
Reply With Quote
Old 12-07-2005, 01:31 PM   #36 (permalink)
Register user
 
krakozia's Avatar
 
Join Date: Nov 2005
Location: russia
Posts: 50
OS: xp


Send a message via AIM to krakozia Send a message via MSN to krakozia
Grin




ok this is what happend atleast it doesn't say failed anymore heres what the lines look like now and also when i put the root file that shows on the server theres nothing in there yet...


Code:
<VirtualHost 192.168.0.100:80>
 ServerAdmin cookiemonster3000@hotmail.com
 DocumentRoot C:\Documents and Settings\Krakozia\My Documents\server
 ServerName sr-hosting.no-ip.org
 ErrorLog C:\Program Files\Apache Group\Apache2\error
 CustomLog C:\Program Files\Apache Group\Apache2\error
</VirtualHost>
krakozia is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Bookmark on Thread SoupReddit!
Reply With Quote
Old 12-07-2005, 01:56 PM   #37 (permalink)
Manager, Alternative Comp
 
Skie's Avatar
 
Join Date: Mar 2003
Location: Downers Grove, IL
Posts: 1,821
OS: Gentoo Linux, Redhat Enterprise Linux, CentOS

My System

I was wondering about the paths and I guess I was right. All paths need to be enclosed within quotes ( " ").

Example:

Code:
<VirtualHost 192.168.0.100:80>
 ServerAdmin cookiemonster3000@hotmail.com
 DocumentRoot "C:\Documents and Settings\Krakozia\My Documents\server"
 ServerName sr-hosting.no-ip.org
 ErrorLog "C:\Program Files\Apache Group\Apache2\error"
 CustomLog "C:\Program Files\Apache Group\Apache2\error"
</VirtualHost>
BTW, I just found this link which seems to have a very detailed writeup of installing/configuring Apache on Windows. http://www.tivohelp.com/archive/tivo...ki.net/31.html
__________________

Last edited by Skie : 12-07-2005 at 01:58 PM.
Skie is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Bookmark on Thread SoupReddit!
Reply With Quote
Old 12-07-2005, 02:11 PM   #38 (permalink)
Register user
 
krakozia's Avatar
 
Join Date: Nov 2005
Location: russia
Posts: 50
OS: xp


Send a message via AIM to krakozia Send a message via MSN to krakozia
Question




im about to read this site u posted now also this is what the code looks like now and once again thanks for all this help

Code:
<VirtualHost 192.168.0.100:80>
 ServerAdmin cookiemonster3000@hotmail.com
 DocumentRoot "C:\Documents and Settings\Krakozia\My Documents\server"
 ServerName sr-hosting.no-ip.org
 ErrorLog "C:\Program Files\Apache Group\Apache2\error"
 CustomLog "C:\Program Files