Which page is the starting one

You don’t start a site by double clicking a file, you start it by visiting through a browser. After you unzip xampp (and if necessary run setup) and start the server you can go to http://localhost

If you make another virtual site, say, test.loc, then you go to http://test.loc in the browser. This is a web server, not a file that you run :slight_smile:

E: didn’t see your post there rajug, yes, you can also just make a folder in htdocs and visit it in a browser with http://localhost/folder

Many thanks. I have set up Apache properly using XAMPP.

  1. within the control panel I don’t know why Apache Module will stop by itself every time I started
  2. Mysql module is always with ‘running’ status once I’ve opened the control panel

After I’ve copied all of the files of the site to D:\xampp\htdocs\mysite, I then start ‘http://localhost/mysite/’. But I’ve got this

[I]The page cannot be found
The page you are looking for might have been removed, had its name changed, or is temporarily unavailable.


Please try the following:

If you typed the page address in the Address bar, make sure that it is spelled correctly.

Open the 10.96.5.88 home page, and then look for links to the information you want.
Click the Back button to try another link.
HTTP 404 - File not found
Internet Information Services


Technical Information (for support personnel)

More information: [/I]

It’s the same even if I directly put the IP of my machine for that.

There might be some problems, either the apache is not installed properly or the port that the apache normally uses ‘80’ is used by some other programs in your system. Skype is the main evil in such cases which unknowingly uses the port 80 or IIS may also be using it. If you can run the apache after clicking the ‘Start’ button in the XAMPP control panel then that’s fine. Otherwise see the apache error log and find the problem why apache is not running.

If your apache is running correctly and you created a folder named ‘mysite’ then it must work work for you. But be sure you typed in the browser the same folder name that you created inside htdocs folder.

Many thanks. If there’s any program that is using 80, how can I change the port for Apache?

I’ve checked that I did set up IIS 7 there for .net.

This one is very helpful if you have mod rewrites and need your paths to be on the root

Thanks for the info

Umm I am not sure the path of the apache’s configuration file in XAMPP and I don’t have installed XAMPP at my PC right now. You open the apache’s configuration file (httpd.conf) and find the following line and change the normal 80 to 8080 or something and restart the apache then then try.


Listen 80

Change it to something like this:


Listen 8080

Then browse http://localhost:8080/mysite, hope this works.

I won’t advice you to change any ports just yet you should remove this:

<VirtualHost test.loc:80>
DocumentRoot d:\dev2\my_proc\admin
ServerName text.loc
ServerAdmin admin@test.loc
</VirtualHost>

from the httpd-vhosts.conf. restart apache and check if you can access http://localhost

remember virualhost tes.loc is running in port 80 <VirtualHost test.loc:80> and you have to edit your windows host file as well.

Many many thanks. How can I edit the windows hosts file?

on WinXP

On XP it should be in C:\WINDOWS\system32\etc\drivers\hosts

Many many thanks to all! Raju, are you mentioning this - ‘httpd-vhosts.conf’? I do not find out ‘Listen 80’ in it.

Stonedeft, inside the host file, how can I change it since I only have these?

127.0.0.1 localhost
10.??.1.??? machine1
10.??.1.??? machine2
10.??.1.??? machine3

I told you to remove the virtual host first …remove this:

<VirtualHost test.loc:80>
DocumentRoot d:\dev2\my_proc\admin
ServerName text.loc
ServerAdmin admin@test.loc
</VirtualHost>

from httpd-vhosts.conf and check if apache will run.

It is your first time to work with an apache server and you are already doing apache voodoos

Start with the basics first

goodluck

Many many thanks. I’ve removed that.
But after I’ve pressed ‘Start’ for Apache module, its status does not change to ‘running’. I’m not sure if it’s fine for this.
is this version - ‘xampp-win32-1.7.3’ OK?

Yes the version is ok if you get this screen:

Then apache is running smoothly you can now go to http://localhost

Many many thanks. But it directs me to
[I]http://localhost/localstart.asp[/I]
and then I have this

[I] Your Web service is now running.
You do not currently have a default Web page established for your users. Any users attempting to connect to your Web site from another machine are currently receiving an Under Construction page. Your Web server lists the following files as possible default Web pages: default.aspx,default.htm,default.asp,index.htm,iisstart.asp. Currently, only iisstart.asp exists.

To add documents to your default Web site, save files in c:\inetpub\wwwroot\.

Welcome to IIS 5.1
Internet Information Services (IIS) 5.1 for Microsoft Windows XP Professional brings the power of Web computing to Windows. With IIS, you can easily share files and printers, or you can create applications to securely publish information on the Web to improve the way your organization shares information. IIS is a secure platform for building and deploying e-commerce solutions and mission-critical applications to the Web.
Using Windows XP Professional with IIS installed, provides a personal and development operating system that allows you to:

Set up a personal Web server
Share information within your team
Access databases
Develop an enterprise intranet
Develop applications for the Web.
IIS integrates proven Internet standards with Windows, so that using the Web does not mean having to start over and learn new ways to publish, manage, or develop content.

Integrated Management
You can manage IIS through the Windows XP Computer Management console or by using scripting. Using the console, you can also share the contents of your sites and servers that are managed with Internet Information Services to other people via the Web. Accessing the IIS snap-in from the console, you can configure the most common IIS settings and properties. After site and application development, these settings and properties can be used in a production environment running more powerful versions of Windows servers.

Online Documentation
The IIS online documentation includes an index, full-text search, and the ability to print by node or individual topic. For programmatic administration and script development, use the samples installed with IIS. Help files are stored as HTML, which allows you to annotate and share them as needed. Using the IIS online documentation, you can:

Get help with tasks
Learn about server operation and management
Consult reference material
View code samples.
Other sources of valuable and pertinent information about IIS are located on the Microsoft.com Web sites: MSDN, TechNet, and the Windows site.

Web Printing
Windows XP Professional dynamically lists all the printers on your server on an easily accessible Web site. You can browse this site to monitor printers and their jobs. You can also connect to the printers via this site from any Windows computer. Please see your Windows Help documentation on Internet Printing.

© 1997-2001 Microsoft Corporation. All rights reserved.[/I]

This is so weired you installed an apache server and it installed an IIS .net server instead…wow I’m bump!!! I assume it is running as a windows service

can you access tihis:
http://localhost/phpmyadmin

hello it appears that you have iis installed in your system to check go to

START->RUN then type: inetmgr

You can then stop the IIS service go to control panel -> administrative tools ->computer management -> services and applications -> services

Search for IIS on the list right click and choose stop service

You can now resatrt xammp and see what happens

Goodluck

Extremely great appreciations! I’ve stopped ‘IIS admin’ in Windows services, it then directs me to

http://localhost/xampp/splash.php

it’s fine

when I further go to

http://localhost/phpmyadmin/

I’ve got

Welcome to phpMyAdmin

Error
MySQL said:

#1045 - Access denied for user ‘root’@‘localhost’ (using password: NO)

Connection for controluser as defined in your configuration failed.
phpMyAdmin tried to connect to the MySQL server, and the server rejected the connection. You should check the host, username and password in your configuration and make sure that they correspond to the information given by the administrator of the MySQL server.

Open new phpMyAdmin window

it’s the same even if I put this

http://IP_of_my_machine/phpmyadmin/

Many many thanks to all! By the way, on both Oracle and Sql server, we do create the DB objects like tables, indexes on the schema/user. Is this also the way we do in Mysql? If it is, how can we export all of the DB objects in one user and then copy that to other machines for use (like to import again)?

There are import and export facilities in mysql too. So if you are able to use phpmyadmin then you can do that from there as well if not find some commands in google and use them to export/import.