Welcome Guest. Please Login or Register  


You are here: Index > AMPPS > General Support > Topic : Simple HTML5/CSS3/JS server for doing tutorial



Threaded Mode | Print  

 Simple HTML5/CSS3/JS server for doing tutorial (2 Replies, Read 4176 times)
newbiegirl
Group: Member
Post Group: Newbie
Posts: 7
Status:
Hi there -- I've used AMPPS in the past for a MySQL Tutorial, and loved it.

I'm about to embark on an HTML5/CSS3/JavaScript Tutorial.

For this I want to install and use a local webserver.

So, I'm trying to figure out how to use Apache on my AMPPS.

I see the 3 buttons: Localweb, AMPPS Home, and AMPPS Admin.

When I click on "Localweb", it takes me to a "Localhost" page, with a CGI-BIN folder on it (which I am not allowed to access as I do not have the permissions -- or so it says).

Please point me to some instructions on what I need to do so that I can quickly start using Apache as a webserver, so that I can start building and testing web pages for my tutorial. And, of course, I want it such that when I load pages on the local webserver, I should be able to view what the pages look like locally on a browser.

I am using Mac OS X Lion.

Thanks!
IP: --   

Simple HTML5/CSS3/JS server for doing tutorial
tidus
Group: Member
Post Group: Super Member
Posts: 1121
Status:
Hi,

Just place you PHP files under Ampps\www

For e.g create a file Ampps\www\index.php with the following code :
Code

<?php
phpinfo();
?>


Then access http://localhost, you should be able to see phpinfo.

You should be able to see perlinfo.pl in Ampps\www\cgi-bin folder. Access it by visiting http://localhost/cgi-bin/perlinfo.pl, you should be able to see perl info.

Quote
When I click on "Localweb", it takes me to a "Localhost" page, with a
CGI-BIN folder on it (which I am not allowed to access as I do not have
the permissions -- or so it says).


The folder cgi-bin is restricted and not the scripts inside it.

You can refer this wiki for more about Ampps:
http://ampps.com/wiki/How_to_use_AMPPS

Also :
http://ampps.com/wiki

Please let us know if you need any other information related to AMPPS.


-----------------------
Follow AMPPS on,
Twitter : https://twitter.com/AMPPS_Stack
Facebook :  http://www.facebook.com/softaculousampps
Google+ : https://plus.google.com/+AmppsStack
IP: --   

Simple HTML5/CSS3/JS server for doing tutorial
newbiegirl
Group: Member
Post Group: Newbie
Posts: 7
Status:
Excellent, thanks for the reply --- it helped tremendously.

I was actually looking for the "It Works!" page from Apache to show up -- so I copied it from htpdocs to www and now I can see it when I go to Localhost.

Thanks again!
IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is May 22, 2024, 2:22 am.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 10  |  Page Created In:0.073