Mac Forums

Mac Forums (http://www.mac-forums.com/forums/)
-   Web Design and Hosting (http://www.mac-forums.com/forums/web-design-hosting/)
-   -   New Site (http://www.mac-forums.com/forums/web-design-hosting/32251-new-site.html)

jureynolds 03-18-2006 11:30 PM

New Site
 
ok this is going to be kinda long but hopefully you all will be able to follow me....

Ok so i have bought my domain name (www.justin-reynolds.com) and i have set up the hosting that will be hosted on my computer, so i set up a zone-edit, which is basically a place i can go and update my ip address b/c i dont have a static ip, so i am using this to update the name servers. When i go to my site it shows that the apache has succsefully installed, which is all good and all, and i have turned on personal web sharing so i am able to see this message. Now my trouble is i have created a webpage, and i have saved it under my sites folder on my user name (its the only user name) and i have saved two files one named "index.html" and another "index.htm" on a windows computer this is the default file name that will apear on the web page when it is accessed. Now my issue is the apache page that is showing up says i can replace this now w/ my site. I ever dont know where i am suppose to be putting these files or where i can replace them. I know i have everything set up correctly because i can atleast see my site, and it takes me to that apache site. Someone please help me w/ this!!!!
Thank ya...

novicew 03-19-2006 12:14 AM

Your apache files are in Library -> WebServer -> Documentation ->

However copying files directly in to this folder may cause some security threats. If you know what you are doing it is fine. You can also point the browser to other directories such as /Users/UserName/Sites/ by configuring httpd.config which may be far more safer.

For testing purpose this may not be an issue.

Check out MAMP (Macintosh, Apache, Mysql, and PHP) project. It is a preconfigured server system with easy to understand documentation.

jureynolds 03-19-2006 12:19 AM

and the http.config file would be located where?

novicew 03-19-2006 12:31 AM

It's normally a hidden file. You can find all the info. here .
Quote:

Originally Posted by jureynolds
and the http.config file would be located where?


jureynolds 03-19-2006 12:36 AM

Quote:

Originally Posted by novicew
It's normally a hidden file. You can find all the info. here .

that site isn't working for me... is it just me?

novicew 03-19-2006 12:41 AM

The link works fine.

Just a short answer to your Q.

System-wide configuration
— (path: /etc/httpd/httpd.conf) This is the master configuration file. It contains information about the system as a whole—what directories are accessible, what plug-ins are in use, and so on. Changes to the Web server as a whole are included here.

User-directory configuration— (path: /etc/httpd/users/ username.conf ) When the Mac OS X Users System Preference panel creates a new account, it automatically adds a basic configuration file for that user within the /etc/httpd/users directory. This mini configuration file determines the security for the Web pages within a user's Sites folder.

Quote:

Originally Posted by jureynolds
that site isn't working for me... is it just me?


jureynolds 03-19-2006 12:47 AM

Quote:

Originally Posted by novicew
The link works fine.

Just a short answer to your Q.

System-wide configuration
— (path: /etc/httpd/httpd.conf) This is the master configuration file. It contains information about the system as a whole—what directories are accessible, what plug-ins are in use, and so on. Changes to the Web server as a whole are included here.

User-directory configuration— (path: /etc/httpd/users/ username.conf ) When the Mac OS X Users System Preference panel creates a new account, it automatically adds a basic configuration file for that user within the /etc/httpd/users directory. This mini configuration file determines the security for the Web pages within a user's Sites folder.

how do i get into the ect folder, i can't find it anywhere...

PowerBookG4 03-19-2006 01:20 AM

Quote:

Originally Posted by jureynolds
how do i get into the ect folder, i can't find it anywhere...

I don't know the location, but you can search for it in spotlight.

jureynolds 03-19-2006 12:53 PM

spot light doesn't seem to locate this, does anyone have any other ideas?

novicew 03-19-2006 04:59 PM

You need TinkerTool or something similar to unhide them. You can also write an apple script , but that may be bit more complicated.

Quote:

Originally Posted by jureynolds
spot light doesn't seem to locate this, does anyone have any other ideas?


lil 03-19-2006 05:01 PM

Or you can select the Finder, then Go and then Go To Folder (or Command + K) and type in /etc

et(c ;) ) voila!

Vicky


All times are GMT -4. The time now is 01:40 AM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.