Html documents in webServer/documents folder I can't open...

Hi all,
For a while now I've been researching on how to use a mac as a webserver to host my sites.
I know that to get users to access sites fromt the server without having to use user folders I'll have to store my sites in the HDD's library/WebServer/Documents folder.
Well, having a look at this folder it is filled with some form of HTML documents, such as Index.html.en, Index.html.cn etc etc. I gather that these are different language variations of an index html document. However because of the html.en extension etc I can't seem to open the document in a web browser, I can open it in textedit and it confirms it is a html doc.
Why can this not be opened? do they need to be deleted and replaced with my own sites if I use my mac as a webserver?
Thanks

Hi--
Well, having a look at this folder it is filled with
some form of HTML documents, such as Index.html.en,
Index.html.cn etc etc. I gather that these are
different language variations of an index html
document. However because of the html.en extension
etc I can't seem to open the document in a web
browser, I can open it in textedit and it confirms it
is a html doc.
You're right, these are localized language variations of the default Apache welcome page. You should be able to open them by dragging them to a web browser window. Apache doesn't server those pages out as a result of a direct request, but as the result of a content negotiation. In other words, if someone requests French pages, they'll get index.html.fr as a result. There's more information about it in the Apache docs on the subject.
do they need to be
deleted and replaced with my own sites if I use my
mac as a webserver?
You can delete them if you want. The one relating to the Apache manual is the symbolic link called "manual". If you want to be able to type http://localhost/manual/ into your browser to get the manual, I'd leave it.
One warning, though: sometimes, as a result of a software update from Apple, those files will all get placed there again (I don't think they'll overwrite existing files, however). I don't know how often that's happened recently, though, as I've done as Tim suggested in his post and moved all my web sites to their own folders and pretty much ignore the default one.
charlie

Similar Messages

  • On 10.4.11 Mac Mail I get this: Mail cannot update your mailboxes because your home directory is full. You must free up space in your home folder before using Mail. Delete unnedded documents or move documents to another volume. I can't open mail.

    On 10.4.11 iMac Mac Mail I get this message: "Mail cannot update your mailboxes because your home directory is full. You must free up space in your home folder before using Mail. Delete unneeded documents or move documents to another volume." I can't open mail to do this. I have reinstalled software but no effect. How do I get into Mail to delete?

    Found this on the "more like this" Worked like a charm!
    With the Mail.app quit and using the Finder, go to Home > Library > Mail. Copy the Mail folder and place the copy on the Desktop for backup purposes.
    Go to Home > Library > Mail > Envelope Index. Move the Envelope Index file to the Desktop.
    Launch Mail and you will be prompted to import mailboxes. Select OK and allow the import process to complete.
    After confirming all mailboxes were successfully imported and available, you can delete the copy of the Mail folder and old Envelope Index file from the Desktop and this should resolve the problem.

  • RMS stopped. Users told "only documents created in a signed application can be opened in a signed application"

    Hi
    I hope you can help and that this is the right forum.
    We have a RMS 1.0 sp1 server which has stopped working.
    Users get "only documents  created in a signed application can be opened in a signed application" when trying to protect a document in word or Outlook, and are unable to open previously protected documents.
    C:\Users\username\Local Settings\Application Data\Microsoft\DRM - only has the one file in it which is DRM-Machine. the .eul .CLC and .Gic files are missing from this folder.
    The server running the rms has an event id 82. " the callers machine certificate has a certificate chain that is not valid"
    I ran an irmcheck on the local machine which showed " No user Certificate"
    I can connect to the rms server urls , both licensing and certificate with no errors and IE shows the zone to be local intranet.
    Can anyone see what my problem might be and suggest why the workstations are not getting their certs and allowed protection? What else should I be checking?
    Best Regards
    Steen

    Hi
    Here is the answer which resolved my situation, I hope it helps yours.
    Guybrush-Threepwood I've marked your post as helpful as we had installed SP2 but it was not installed correctly and installing correctly was part of the solution.
    PROBLEM:
    Client began seeing the error:
    “Only documents created in a signed application can be opened in a signed application”
    On the server we were getting events:
    “The callers machine certificate has a certificate chain that is not valid”
    CAUSE:  
    Servers running RMS before SP2 can no longer get a valid Server Licensor Certificate.
    RESOLUTION:
    1. Install RMS v1 SP2 from:
    http://www.microsoft.com/en-us/download/details.aspx?id=14329
    2. Locate and then click the following key in the registry.
    For the enrollment URL on x86 versions of Windows Server 2003:
    HKEY_LOCAL_MACHINE\Software\Microsoft\DRMS\1.0\
    For the enrollment URL on x64 versions of Windows Server 2003:
    HKEY_LOCAL_MACHINE\Software\Wow6432Node\Microsoft\DRMS\1.0\
    3. On the Edit menu, point to New, and then click String value.
    4. Type EnrollmentURL, and then press Enter.
     5. On the Edit menu, click Modify.
     6. Type
    https://activation.drm.microsoft.com/enrollment/enrollservice.asmx, and then click OK.
     7. On the Edit menu, point to New, and then click String value.
    8. Type CloudGicURL, and then press Enter.
     9. On the Edit menu, click Modify.
     10. Type
    https://certification.drm.microsoft.com/certification/certification.asmx, and then click OK.
    11. Go into the RMS Web interface and renew the SLC
    HTH

  • When trying got save a document I get a message saying "can't open untitled.page" and it doesn't save or if it does i can't open it. why.

    When trying got save a document I get a message saying "can't open untitled.page" and it doesn't save or if it does i can't open it. why.

    I think I found out how to solve this - I turned off iCloud documents and data, and now I can save and don't get the "can't open untitled.page" and am now able to properly save!
    Hope it works for you.

  • When i save a document to my document folder, how can i open it to edit it?

    any email or written text that I save in my document folder, I can open it in read mode but I cant edit it?
    is there a setting or something that I don't have
    I can save it to template folder and its ok but not in my file folder

    please see here about file attributes http://www.2brightsparks.com/resources/articles/understanding-file-attributes.html note the read only attribute.

  • I received a document written in pages.  how can i open it in word?

    I have Pages on my iPad.  I received a document written in Pages.  Can I open it on my MAC even though I have Word, but not Pages.

    Oopen the file in Pages, tap the Share icon, Open in another app, choose Word; or tap the Share icon, send a copy, choose Word and email it to yourself.

  • Yahoo. When I try to open my mail I can see the folds but can't open the individual mail.

    I see the folder with empty displayed on the right but I can't open the mail.

    Do it manually to see if Encore works... export MPEG2-DVD from PPro (if for a DVD, or appropriate assets for HiDef) and then import the 2 (audio and video) files into Encore for authoring
    Run as Administrator http://forums.adobe.com/thread/969395 fixes some problems
    Specific to CS4, you must update the Roxio component, especially with Win8
    http://forums.adobe.com/thread/1309029
    http://corel.force.com/roxio/articles/en_US/Master_Article/000012592-PX-Engine-Description -and-Download
    Dynamic Link Problems... and a possible fix http://forums.adobe.com/thread/1325281

  • TS1702 Right in the middle of using numBers, entering numbers on a spreadsheet. I went to copy then paste to another document and everything froze. I can not open any of my documents. Any ideas?

    I have 2 problems. First I was using numbers on my IPad and it froze up on me. I cannot open any of my documents. What do I do to fix this.
    My pages wouldn't update and now it is dark and I cannot use it or my Facebook app which is doing the same thing.

    - Try a rest. Nothing is lost.
    Reset : Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Next would be a restore.

  • TS3938 if i have stored items written in word documents with picture and text how can i open them and print/

    what other formats or apps can i now word processand cut and paste photos on ?

    Control click on your file> see your "Open With" options.

  • I just downloaded a folder - but can't open - is an .exe

    I just downloaded a folder which should contain some videos that should be able to play okay. But it downloaded in .exe -- is there a way I can access this?

    Right click -> Properties -> Digital Signatures.
    So no, you're incorrect. If you want to make it even easier, you can double click the file...since it came from the Internet zone, it'll be marked as blocked bringing up a warning dialog. Below the run button is the notification about the digital signature.
    This is really no different than downloading an application bundle from the Internet. Do you really know what is in that bundle, or do you just trust it because it came from the sources' site? To add to that, do you really know that it hasn't been tampered with on the sources site? For example, the offical sendmail site was compromised and a trojaned installation of sendmail was placed there for download a couple of years ago.
    Without digital signatures, you don't know where it really came from. MD5 hashes aren't reliable if the site was compromised.
    Beyond that, even with these protections in place, you don't know what is in the code...:)

  • TextEdit "Open Recent" list contains a folder I can't open

    In TextEdit I went from File > Open Recent > … and noticed in that list a folder icon, titled: ".de0146.000"!
    Puzzled, I tried to open it, and naturally got an error message saying that TextEdit cannot open a file in the "Folder" format. So I tried using Spotlight to find where it is, but spotlight cannot find it.
    What is this thing?
    How did it get into my "Recent" list?
    Is it anything suspicious?

    Thanks for your help and patience WZZZ. I've been away.
    1.) I got EasyFind. I'm usually scared of new downloaded software so that's been a useful "adventure" for me.
    2.) EasyFind showed it as located in " ./Desktop/RADIO "— a folder in which I file downloaded audio files from Radio Podcasts etc.
    But when I selected Reveal in Finder I could not find it in that "RADIO" file, so I presume it was an invisible Folder after all. Its size was simply shown in EF as "--", presumably zero.
    I could not copy the line in EF so I hope this adequately answers your question.
    3.) I did destroy it from EasyFind as you suggested.
    So this whole thing has been a valuable learning curve for me throughout, and as it has been my first foray into using an internet Forum ever, you have been great in boosting my confidence in that area too.
    A very special thanks to you.

  • If I am running CS5 can I open CS5.5 documents

    I purchased CS5 for a someone whose hardrive crashed so she didnt know what version of the CS she was running and now she cant open any of the documents because they were all created in CS5.5

    That's only relevant for ID. HTML is HTML and PSD files are generic and can be opened in any version of PS. Likewise, there never was an AI CS5.5, only CS5. For the ID files, save back to CS5 by choosing the relevant option from the file dialog.
    Mylenium

  • MacBook Pro OSX 10.9.4 - can't open document in pages - message says need updated version and there aren't any

    MacBook Pro - OSX 10.9.4 - trying to open document in pages.  Message says can't open with this version - go to app store for update, but there aren't any updates.

    Hope apple can fix this soon if new patch 10.9.4 cause this.
    Apple cannot fix problems they did not create. Eset and Avast are capable of doing nothing beneficial and can only cause problems. Uninstall it and determine if the problems subside.
    Use Avast's uninstaller, which will remove it completely. Eset requires using the uninstaller included with its downloaded installation program (see screenshot):
    Eset will also require manual techniques to uninstall components its uninstaller leaves behind, a common characteristic of poorly written software.
    I am now can access an internet, with zero security.
    It's a common misconception that you have "zero security" without junk such as Eset or Avast. OS X already includes robust protections against viruses and malware. Use your Mac the way it was intended to be used - without burdening it with useless garbage.

  • How  can I open a document that i saved without buying the latest pages?

    I saved two documents last week and now I can not open them without "buying the latest version of pages"  Is there anyway to save this information without being forced to buy new software.   I have been happy with my old pages and saved it with my old pages and not I can not open it with out buying the new version.  I feel that apple is holding my document hostage.  Any help would be appreciated.

    DM,
    You probably already have V5 without knowing it. Unless someone else edited your documents with V5, it was you, and you just need to make sure that you are using V5 for edits.
    Right-Click the docment in Finder and choose Open With: Pages V5.x
    I'd be surprised if you didn't find that option.
    Jerry

  • In pages I have the new logo and when I try to open a document it says I need an update to open.  My computer says pages has been updated.  Any suggestions?

    I am unable to open certain documents in Pages.  A number of documents in Pages have the new logo and when I try to open it, I am prompted to update, yet my computer says Pages update is installed.  Not sure how to get around this?  Thanks

    You are not on OSX 10.7.4, you are on OSX 10.9.
    You have 2 versions of Pages on your Mac.
    The newer Pages 5 in your Applications folder which can open the older Pages '09 but frequently alters/damages the file.
    The older Pages '09 in your Applications/iWork folder which can not open the newer Pages 5 files.
    You appear to be alternately opening one or the other.
    Apple has removed over 90 features from Pages 5.
    http://www.freeforum101.com/iworktipsntrick/viewforum.php?f=22&sid=3527487677f0c 6fa05b6297cd00f8eb9&mforum=iworktipsntrick
    Best is to archive/trash Pages 5, after exporting its files back to Pages '09 versions, then rate/review it in the App Store, and get back to work.
    Peter

Maybe you are looking for

  • Extremely urgent concern about (potential) major privacy violation

    I opened up "Creative Cloud" in the notification area today. I never asked for that thing, but it's forced upon me. Anyway, I browsed around to see what the default settings are, and what do I notice? It's "syncing files" by default. And the default

  • Jambox connection issues

    I'm having serious problems syncing a mini Jambox with my Macbook Pro through bluetooth. The moment the Jambox is set up as a bluetooth device, it cripples the whole machine, making it impossible to do anything-even removing the device from the bluet

  • Use Wifi to download updates

    I watched my Nokia Lumia 920 update three apps tonight. Two of the updates used the phone's cell network. One update used wifi. Is there a setting on that I can set to make the phone only use wifi to download updates?

  • Plotting XY graph

    Hi guys, I've been assigned to a school project that supposingly I have to do data logging. This project is to log down the data into a Current against Time graph every few intervals form a solar panel. I'm very very new to labview and I have lots of

  • Another "horrible performance after upgrading to Lion" post

    Hi, Sorry for yet another "my computer has horrible performance after upgrading to Lion" post.  I did search the forum before posting. I have a relatively new Macbook Pro, 8 GB RAM, 2.8 MHz Intel i7 CPU.  I upgraded from Snow Leopard to Lion, then Li