Find Apache from internet

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

Find Apache from internet

Postby Kolle » 06. April 2006 13:37

I am webserver newbie. But i think i have got everything in XAMPP to work now. Am I supposed to put the files i want to have on the internet in the http directory?
I have done everything described in the userguide by DrkShadow, and created a directory named: www and another inside this called Internet. Am i supposed to place my files here?
Just dont know how to find the files i have in these folders? Where can i find the adress to type in my browser?

"xampp-portcheck.exe", is this installed in XAMPP? If not, where can i fint this program?
Kolle
 
Posts: 12
Joined: 01. April 2006 02:46

Postby sthosting » 06. April 2006 18:27

Hello,
If you have installed Xampp, and are ready to add you web files go to your htdocs folder and put ur files and html pages in there.
from there you should be able to go to http://localhost/index.html
(-* localhost- replace with your IP address*)
what ever index.html file you put in htdocs should show up.
sthosting
 
Posts: 19
Joined: 26. January 2006 06:10

Postby Kolle » 06. April 2006 19:53

Thanks for answer!
When i type http://localhost/index.html , i get the message: It works!
I dont know how the apache server is suppose to work. But i though i could place for example jpg. files (pictures) in my htdocs directory, and they will be availabel over the internet.
To find my jpg. files in my htdocs directory, i used the adress as you said:
http://localhost/index.html (And replased localhost with my ip-adress).

The message i get up is:

Web Server Error Report:
Server Error: 501 Not Implemented
Operating System Error Nr:6: errno = 0x6

No RPM for this combination of URL and method

/index.html

What could be wrong?

Thx for help!
Kolle
 
Posts: 12
Joined: 01. April 2006 02:46

Postby Kolle » 07. April 2006 03:23

Come on, somebody got to know what this mean. Error 501...

The end of my conf file:

NameVirtualHost *:80
<VirtualHost *:80>
DocumentRoot C:\Programfiler\Xampp\htdocs
ServerName localhost
</VirtualHost>

<VirtualHost *:80>
DocumentRoot C:\Programfiler\Xampp\www\Rune
ServerName localhost.Rune.com
</VirtualHost>

# Win32DisableAcceptEx
-----------------------------------------------------------

What to type in my browser? https://IP.Rune.com
https://IP./index.html

Plz help!
Kolle
 
Posts: 12
Joined: 01. April 2006 02:46

Postby sthosting » 07. April 2006 04:26

Are you trying to set up VirtualHost?

All you need to do is place your images in a folder calld images in your htdocs file.. put all your images in the images folder ..
go to http://00.00.00.000/images/mypic.jpg (*00.00.00.000 = relpace with your IP *)

Make sure your alowed port 80 from your ISP.

Make sure you name the corect image file name
Image
sthosting
 
Posts: 19
Joined: 26. January 2006 06:10

Postby Kolle » 07. April 2006 05:04

Server Error: 404 Not Found

sry, didn`t work. When i use ip from ipconfig it works. But i think that is jusl local, and not on the internet.
Kolle
 
Posts: 12
Joined: 01. April 2006 02:46


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 83 guests