jlhaslip
Nov 2 2006, 07:31 AM
Thanks for any assistance you might be able to provide. As per the topic title, I am having difficulties getting a Virtual Host set up on my machine. XAMPP by itself is okay, in fact it runs perfectly except with several projects on my Local machine for testing purposes only, I wanted to avoid everything being accessed through the localhost/sub-folder method. I would like to go direct to the folder in the htdocs folder etc, blah, blah. You know what I mean... I have been to the sites reccomended by other topics and have tried several different things which have all been failures, so I am posting here to have someone assist me in setting up a named host for an Apache server running on a Windows machine running 98SE. XAMPP version is 1.5.1, in case any of that matters. In summary, I have an install of XAMPP which is un-altered, so I won't post the entire httpd.config file or the vhosts file, either, but here is the coding which I thought would work, but fails: Added to C:\apache\xampp\apache\conf\httpd.conf and the vhost config file ( seperately & together , with and without quoted paths )" CODE <VirtualHost *:80> DocumentRoot C:/apache/xampp/gmha ServerName gmha.test </VirtualHost>
<Directory C:/apache/xampp/gmha> Options FollowSymLinks AllowOverride None Order allow,deny Allow from all </Directory>
Contents of C:\WINDOWS\hosts CODE 127.0.0.1 localhost 127.0.0.1 gmha.test
Error received in the Browser: QUOTE Access forbidden!
You don't have permission to access the requested object. It is either read-protected or not readable by the server.
If you think this is a server error, please contact the webmaster. Error 403 gmha.test 11/01/06 22:10:35 Apache/2.2.0 (Win32) DAV/2 mod_ssl/2.2.0 OpenSSL/0.9.8a mod_autoindex_color PHP/5.1.1
And,of course, I have been stopping and starting the server between attempts as per SOP. Even been bringing down the Browser on each run, but so far, the only thing that works is the original httpd file from the XAMPP install. Since this is a truly "local" machine, connected to the Internet only via a removable disk which plugs into another machine, there is no need for any other security considerations or directives or what have you. Just need an expert opinion on what I might be doing wrong here. Should you require any further information, please request it here and I will provide it. Any, and all, suggestions welcome.
Reply
kdr_98
Nov 2 2006, 08:04 AM
In your file httpd.conf you need to setup : CODE <VirtualHost ghma.test:80> DocumentRoot C:/apache/xampp/gmha/ ServerName gmha.test </VirtualHost> Watch because in Windows XP everything is case sensitive, in Windows 98 you may have to use capital letters because before Windows XP everything was DOS based . Alternative : CODE <VirtualHost ghma.test:80> DocumentRoot C:/APACHE/XAMPP/GHMA/ ServerName gmha.test </VirtualHost>
Reply
jlhaslip
Nov 2 2006, 08:11 AM
Man, I knew that.  Thanks for your quick response. That's what happens late in the day when you start to use shortcuts like Cut & Paste. A fresh set of eyes solves alot of problems. Thanks again. *EDIT* Okay, that solved the problem about getting to the gmha folder.Now I can't get to Localhost, so I placed another tag-set in there for localhost and now I can't get to the gmha.test. I am getting frustrated here. Even tried reversing the order of the containers. It appears to make no difference. Any other ideas out there???
Reply
kdr_98
Nov 2 2006, 10:23 AM
You just need to add 1 block per (local) domain you want to host. So it must be something like this I think. eachblock can be linked to a different domain , when you add the asterisk it means that the domain was not found in the above. Well overhere it's noon (11:26 am) CODE <VirtualHost ghma.test:80> DocumentRoot C:/apache/xampp/gmha ServerName gmha.test </VirtualHost>
<VirtualHost localhost:80> DocumentRoot C:/apache/xampp/ ServerName gmha.test </VirtualHost>
<VirtualHost *:80> DocumentRoot C:/apache/xampp/gmha ServerName gmha.test </VirtualHost>
Reply
matak
Nov 2 2006, 10:37 AM
If u have many problems with Xampp you can always setup your webserver by Installing Apache 2.0 and PHP 5 (and MySQL) on Windows XPThis is really good tutorial i used, and i think it beats using other apps for setting up server, beacouse here u can in first hand learn setting up MySQL an PHP, which comes quite handy latter.. This can come in handy too... MySQL PHP Web Database Tutorial: Create DatabaseTo moderators.. Is it allowed to post this links? I'm not sure couse i'm a noob, as u can se below my name  so plz don't be mad if it's not allowed
Reply
jlhaslip
Nov 2 2006, 06:55 PM
QUOTE 127.0.0.1 localhost 127.0.0.2 gmha.test Works now with different IP mappings. D'uh!
Reply
kdr_98
Nov 15 2006, 12:21 PM
Strange you have to work with differnt IP adresses. Normally it should work with domain names as well, since you can make different (dynamic) domain names. And host them to different site. The nyou have the same ip adress, because you get only 1 IP adress from the internet. Have you setup the server name in each block, I think you may no specify the server name in each block. Maybe I'll try it out and let you know.
Reply
iGuest-James Wallace
Nov 5 2008, 02:48 AM
How do you get on the net????
Xampp Virtual Hosts Failing
I was wondering how do you get XAMPP on the internet?? I'm googling and googling and I cant find anything free Please help? I want to use XAMPP instead of a webhost -question by James Wallace
Reply
Recent Queries:--
remote access to xampp in windows xp - 3.28 hr back. (1)
-
virtualhost apache2 windows access forbidden - 4.55 hr back. (1)
-
change mysql port xampp #2003 - the server is not responding - 6.09 hr back. (1)
-
rpm configure "--with-apache" "apache directory" "not found" - 6.91 hr back. (1)
-
mpm prefork forbidden cpanel - 10.20 hr back. (1)
-
xampp using too much virtual memory - 11.15 hr back. (2)
-
name based vitual hosts in linux xampp - 13.87 hr back. (1)
-
xampp virtual host - 1.34 hr back. (4)
-
virtual host xampp linux - 19.84 hr back. (1)
-
how to add virtualhost with xamp - 19.86 hr back. (2)
-
xampp vhosts tutorial - 20.89 hr back. (1)
-
xampp vhosts tutuorial - 20.89 hr back. (1)
-
xampp vhosts - 20.94 hr back. (2)
-
xampp virtual host 403 - 21.32 hr back. (1)
Similar Topics
Keywords : xampp, virtual, hosts, failing, problem, apache, server, set
- Wsus Server Running Slow
Managment using web admin is incredibly slow (3)
Mysql, Php, Apache Downloads And Setup Was A Nightmare
Mysql, PHP, Apache (10) Mysql, PHP, Apache downloads were easy enough. Then came the setup process. This seemed to be an
endless mess of going back and forth trying to get the programs to work together properly. Finaly I
got them working after about 48 hours. There are great tutorials on the setup process, but only one
or two actualy were easy enough for me to understand. I would like to see if I was the only one who
had issues with this setup. Are there easier ways to setup the three?....
Mercury Mail Server
Anybody know about it? Need help setting it up. (0) Mercury Mail Server is included in an XAMPP Software download which is a package to install php,
apache, mysql and some other stuff onto your machine for the purpose of testing scripts, etc. I have
the Mercury mail Server, but I can't understand the ins and outs to get it to wirk on my
machine. If someone could assist me with this problem of getting it to work, I would be graetly
appreciative.....
Outlook Express Won't Talk To Isp's Pop3 Server
(2) This all started yesterday when I opened up Outlook express. It sat at the Send/Receive window for
a time then told me the server wasn't responding, and I could wait or stop. Upon stopping I got
this error: QUOTE A time-out occurred while communicating with the server. Account:
'mail.yourlink.ca', Server: 'mail.yourlink.ca', Protocol: POP3, Port: 110,
Secure(SSL): No, Error Number: 0x800CCC19 Now I've just switched to this ISP, and figured
that maybe it was a problem on their side, and I'd let the problem wait a while. Later that da....
My Own Ts Server!
Watch out for the problem I had! (0) Well I have been trying to run my own TS server off my computer for a couple days now. It was easy
to install and admining it was quiet easy, but whenever someone tried to connect to it(including
myself) it would give the server not responding error! I was stumped, but then my friend Jon
reminded me that I don't have IP forwarding set up on this computer! MEaning that I have to tell
my router whenever it receives a connect to redirect it straight to my computer. This was easily
done, by going into my routers IP address and changing it. Forutunatly my router can with ....
Installing Php5(my Sql) And Apache On Windows
(6) I am trying all day to install PHP5 and Apache 2.0 on my desktop, but it just didn't work. I
tried all tutorials to try and make them work but it never did. Please If someone has a good one,
that 100% guarenteed to work, then please post it back. Thanks!....
Making Your Xp As Internet Web Server
(8) You can make your Windows XP PC as an Internet Web Server right from your home. Be sure you have:
- Internet Connection (of course...) * either Dial-up or Broadband but Broadband is highly
recomended. - An HTTP Server (ex. Apache, IIS, etc.) - A DNS server ( try DynDNS for free sign
up) - Static IP Address* * if you have a Dynamic IP Address you can download the automatic IP
Changer to eg. DynDNS. First, Configure your Http Server Then, assign your Public IP to access
your systems Local IP Address Then, if you are using a Broadband or DSL modem configure....
Office 2.0 - Online Virtual Office
(3) With the advance web technology nowadays, you can do every office tasks online. No need to install
any software. All you need is a computer with any operating system, a web browser, and Internet
connection. ITReduc created a Office 2.0 Database to list down many online office applications
would replace your desktop softwares, ranging from online bookmarks to online operating systems!
Copied http://www.liewcf.com/blog/archives/2006/0...virtual-office/ ....
Using Filezilla Server
(2) Has anyone of you used your a computer as a FTP server, I am trying to do it but for some reason or
another, if I do not disable my firewall, this FTP server will not work. Do you know what must be
done besides getting the router to point to the desktop? What port must I open so that I would be
able to access my FTP Server. I will appreciate it if there is any help....
Haunted Mansion Virtual Tour
(1) I was wondering how the virtual tour on the special feature section of the Disney Haunted Mansion
movie could have been made, I don't mean the DVDrom version but the actual watch it on your tv
version?....
Installing Apache,mysql,php Under Debian
(10) Hi guys, i'm not much of a programmer and try for 3-4 days to install on my KANOTIX Apache,
MySql and PHP. At each of them i have issues and can't go further without some help. So please
help me here. I'll take them in row. First i installed apache with apt-get and got installed the
following apache2 , apache2-common , apache2-mpm-prefork , apache2-utils ,
libapache2-mod-php5 and some other apache libraries(libxalan2-java, libxerces2-java, libssl0.9.8,
libservlet2.3-java, libjaxp1.2-java)-guess these not being important, perhaps were here in Synaptic ....
Installed Xampp, But ...
there are a couple of problems with my Install. (3) Thanks to the tutorial here at the Trap17, I decided to install a copy of XAMPP on my Windows 98
Laptop so I could learn some more php coding without crashing the server on the Forum here. The
Tutorial was good, it helped a lot, but there are two things which I need a hand with. Both
problems might be Browser related, but I don't know, so here is the first problem: First
Problem Opera can't find the Local server. I have a test file or two which run perfectly in
the Firefox Browser, but if I Cut and Paste the address into the address bar of Opera 8, I get a ....
Red Hat For Dell Poweredge Server
Where Can I Find it? (5) i was wondering where i can find red hat linux for a dell poweredge server andy responce would be
greatly appriciated Edited topic title & description ....
Apache Http Server
Setup (4) I have apache http server setup on my machine now.For awhile I had it setup to use locally,but never
could figure out how to use it to server globally now I am able to do such a thing.There is quite a
bit for me to learn yet about the darn thing. I found a good link that I would like to share with
those that have tryed in the past,and failed hopfully this may shed some light for you as it has for
me.Also if you have been trying to run your own server on your machine,and cannt quite figure out
how to still feel free to PM me ,and i will do my best to get you up and runnin....
Antivirus Softwares ?
for Windows Server 2003 Enterprise (3) I have upgraded my PC from Windows XP Profressional to Windows Server 2003 Enterprise. When i used
Windows XP Profressional, i was trying BitDefender Professional version 9.0 and it is so great. But
since i upgrade my PC to Windows Server 2003 Enterprise, i can not use it anymore because
Bitdefender does not run in Win2k3. So who can give me a suggestion ???....
The Uniform Server
php, perl, apache, and mySQL for Win32 (5) Hi folks, nice place you've got here. I hope to stick around for a while. Hopefully this topic
is new. I checked the archives and didn't see a match. I ran across a bundle of php, perl,
apache, mySQL, and phpMyAdmin, and I must say that it rocks. Once this baby is installed you are
four mouse clicks away from a gui to a live mySQL database. Okay, so you have to count a
double-click as a single click, and I'm not including opening the folder, but that's still
not too bad. It easily fits on even the smallest of USB drives, and executes without fanf....
Run Apache Securely On Windows
How can I restrict all remote access? (2) I've established an Apache 2.0 server on my laptop that I want to use to test new features of my
website before I make them public. I'm nervous about security and random attacks and just want
to feel assured knowing that no one can access my Apache server remotely. I'm running Windows
XP and have Windows firewall protection enabled. Is that enough? What types of changes do I need to
makes to the "conf/httpd" configuration or other files in the Apache directory? Basically, what
settings do I need to enable to restrict all remote access to the localhost Apac....
Virtual Memory Error... Windows Xp
(5) Im tryin 2 Install an Ebook & when I click the "setup" file, itz givin an error sayin "This program
requires at least 3MB of free Virtual Memory to run"... There r 3 partitions on the Disk Viz., C,
E, F... The Page file size is set as "1536-3072 MB" for C Drive, but other Drives do not hav any
Page File Size set... i've windows xp and win 2000 Plz help me wid thiz problem... Thanx, ....
"server Not Responding" In Dreamweaver
(2) I'm on a dialup system, so when I use the internet I'm pretty much using all my bandwidth.
And when I want to upload a file from Dreamweaver by File>>Save to Remote Server it just sits and
spinns about the server not responding. However as soon as whatever else I'm doing on the
internet stops (or I stop it) dreamweaver picks right up and goes. Any thought on how I can fix
this?....
Proftpd Ftp Server In Linux
how to configure it? (1) Hi, I just installed the ftp server proftpd in my linux machine. I executed it and i can login it
with my user. It redirects me to my /home/myuser. Until here everything ok. My idea was configuring
a ftp server where a predifined user could access only a folder's range with read only
permisions and also a folder with write permisions but not read permisions. I am not sure about the
steps to follow to do this. So i thought that maybe someone in trap is using proftpd and could help
me. So the steps will be: - Create a user with the command useradd/passwd - Modify the ....
Os & Softwares For Server
please share (2) hello, yap, please share these... - which OS is best for server? by means of maintaining sever
work, simplicity of setup, compactible with system/software - what softwares are needed in minimal -
pls list ur recomandation of system configuration for server thkz and appreciate....
Smartfox Server Lite
(1) is there a way i can install smarfox lite on my site? im using trap....
Golden Ftp Server
make your own FTP Server (1) We all have tried to download different things on internet from different FTP servers. And
many of us share our files (mp3, paper works, movies and etc.), and of course many of us are willing
to make own FTP server and share files with internet users. The only thing you have to do is to
install Golden FTP Server software on your computer. Golden FTP Server is extremely easy to
use personal FTP server for Windows and can be run by any person who has the most basic computer
skills. The program loads automatically on Windows startup and you can identify the fi....
Installing A Server On Linux?, Doesn't Seem To Wor
(3) I've been trying to install a server on my Mankdrake 10 linux distro machine, but it has failed.
I followed a book, I followed several "install mysql" tutorial stuff and it doesn't seem to
work. I am new to linux and I have never had even an RPM work on this computer. Its not a slow
computer, but it runs a 1.7g Intel Celeron, 300+ Ram (256 + 128), built in graphics and sound -
sound doesn't work, and screensavers are slow as hell. I think the os has lots a problems with
the hardware (duh), and I'm not sure where to get drives (not that ill be able to use....
Web Server At Home!
Cool (9) very easy Download now and install! /laugh.gif" style="vertical-align:middle" emoid=":lol:"
border="0" alt="laugh.gif" />....
cache server
creating a cahe server (0) Which specifications would you recommend for a web cache server,both hard and soft ware
specifications,also free ware would be most welcome....
best proxy/cache server
internet access (0) i have tried winproxy 5.0 but am loooking for any free ware if possible tht offers similar
functionality,any ideas....
remote access to xampp in Windows XP, change mysql port xampp #2003 - The server is not responding, XAMPP using too much virtual memory, virtual host xampp linux, xampp vhosts tutorial, xampp vhosts tutuorial, xampp vhosts, xampp virtual host 403, creating virtual host with xampp, xampp virtual host setup, xampp \access forbidden\, virtual host on xampp linux, xampp outlook express problem, xampp linux config virtuals
Looking for xampp, virtual, hosts, failing, problem, apache, server, set
|
*SIMILAR VIDEOS*
Searching Video's for xampp, virtual, hosts, failing, problem, apache, server, set
*MORE FROM TRAP17.COM*
| Similar | | Wsus Server Running Slow - Managment using web admin is incredibly slow |
| Mysql, Php, Apache Downloads And Setup Was A Nightmare - Mysql, PHP, Apache |
| Mercury Mail Server - Anybody know about it? Need help setting it up. |
| Outlook Express Won't Talk To Isp's Pop3 Server |
| My Own Ts Server! - Watch out for the problem I had! |
| Installing Php5(my Sql) And Apache On Windows |
| Making Your Xp As Internet Web Server |
| Office 2.0 - Online Virtual Office |
| Using Filezilla Server |
| Haunted Mansion Virtual Tour |
| Installing Apache,mysql,php Under Debian |
| Installed Xampp, But ... - there are a couple of problems with my Install. |
| Red Hat For Dell Poweredge Server - Where Can I Find it? |
| Apache Http Server - Setup |
| Antivirus Softwares ? - for Windows Server 2003 Enterprise |
| The Uniform Server - php, perl, apache, and mySQL for Win32 |
| Run Apache Securely On Windows - How can I restrict all remote access? |
| Virtual Memory Error... Windows Xp |
| "server Not Responding" In Dreamweaver |
| Proftpd Ftp Server In Linux - how to configure it? |
| Os & Softwares For Server - please share |
| Smartfox Server Lite |
| Golden Ftp Server - make your own FTP Server |
| Installing A Server On Linux?, Doesn't Seem To Wor |
| Web Server At Home! - Cool |
| cache server - creating a cahe server |
| best proxy/cache server - internet access |
|
advertisement
|
|