• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: default apache
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: default apache


  • Subject: Re: default apache
  • From: Gnarlodious <email@hidden>
  • Date: Mon, 31 Jan 2005 09:07:39 -0700

This is off-topic, but here's a trick to get you going with Apache:

In your Apache configuration file (/private/etc/httpd/httpd.conf) make lines
like these:

    Alias /Docs/ /Library/Documentation/
    Alias /Developer/ /Developer/Documentation/

Restart Apache:

sudo apachectl graceful

Now, in your Apache front page, put this:

<a href="Docs/Services/Apache/">Apache Manual</a>

Note that your actual path to the Apache Docs folder may differ from mine,
so adjust as needed!

Now open Apache:
http://127.0.0.1/

If you click on the "Apache Manual" link it should open your manual. Note
that "index.html" in the URL is unnecessary since Apache knows  to find it
by default.

--
Cosmetic Justice; when the Botox gives you Mad Cow Disease
                                            -- Gnarlodious


> thanks simeli,
> got it....
> thanks for this very detailed explanation.
> best regards,jan
>> ----------
>> From:  simeli
>> Sent:  Monday, January 31, 2005 16:15 PM
>> To:  Jan-Bultereys; email@hidden
>> Subject:  Re: default apache
>>
>> unter /Library/WebServer/Documents you will find the index.html page
>> Apache uses. depending on the language of the client, the respective
>> index page gets sent out.  you may also delete all index.html.xx pages
>> except index.html then you'll always be presented with the english page.
>>
>> in /etc/httpd/httpd.conf there is specified which pages are unsed as
>> index pages - you could also name them home.htm if you like, as long as
>> you specify it in this file. also the document root is specified here. i
>> recommend you look at this file for it contains a lot of useful comments
>> that help you better understand apache in general. but make sure you make
>> a backup copy of the file before you change anything. btw, apache needs
>> to be restarted for chenges to take effect (/usr/sbin/apachectl restart)
>>
>> hope this helps.
>>
>>
>>
>>> hi,
>>
>>>
>>> I know this is not an question I should ask in this group, but maybe
>>> someone knows.
>>>
>>> Where can I find the 'default page' of apache the starting page? (the path)
>>> What is the 'real' file name?
>>>
>>> what I mean is when you make a connection to a mac:
>>> http://ipaddress
>>> you get a default 'apache' page.....
>>>
>>> There are a lot of 'default', 'index' pages on a mac and I don't know
>>> where to look for.
>>>
>>> best regards,jan
>>>


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >RE: default apache (From: "Jan-Bultereys" <email@hidden>)

  • Prev by Date: Re: Download dmg and then mount the volume ?
  • Next by Date: if there is two monitor, where is the display dialog?
  • Previous by thread: RE: default apache
  • Next by thread: if there is two monitor, where is the display dialog?
  • Index(es):
    • Date
    • Thread