HT4813 How to I edit this file, it says its locked and I dont have permissions: default_default.conf.default.

I need to add index.cfm to my default document tree.  I finally found where to change it in Lion Server.  When I try to edit the file, it wont let me.  Any way to edit the file?
default_default.conf.default.

Sorry, are you sure that you have typed the correct password for the admin (after sudo -s)?
hostname:sites_disabled pyro$ sudo -s
Password:
bash-3.2# pwd
/private/etc/apache2/sites_disabled
bash-3.2# ls -lha
total 0
drwxr-xr-x   5 root  wheel   170B Jan  3 14:56 .
drwxr-xr-x  34 root  wheel   1.1K May  2 11:57 ..
-rw-r--r--   1 root  wheel   697B Jan  3 10:36 0000_default_default.conf
-rw-r--r--   1 root  wheel   697B Jan  3 10:36 default_default.conf
-r--r--r--   1 root  wheel   697B Jan  3 10:36 default_default.conf.default
bash-3.2# chmod 644 default_default.conf.default
bash-3.2# ls -lha
total 0
drwxr-xr-x   5 root  wheel   170B Jan  3 14:56 .
drwxr-xr-x  34 root  wheel   1.1K May  2 11:57 ..
-rw-r--r--   1 root  wheel   697B Jan  3 10:36 0000_default_default.conf
-rw-r--r--   1 root  wheel   697B Jan  3 10:36 default_default.conf
-rw-r--r--   1 root  wheel   697B Jan  3 10:36 default_default.conf.default
bash-3.2# chmod 444 default_default.conf.default
bash-3.2# ls -lha
total 0
drwxr-xr-x   5 root  wheel   170B Jan  3 14:56 .
drwxr-xr-x  34 root  wheel   1.1K May  2 11:57 ..
-rw-r--r--   1 root  wheel   697B Jan  3 10:36 0000_default_default.conf
-rw-r--r--   1 root  wheel   697B Jan  3 10:36 default_default.conf
-r--r--r--   1 root  wheel   697B Jan  3 10:36 default_default.conf.default

Similar Messages

  • My mum can't access her account. It says its locked and asked for her security questions, but she can't remember what they are. How do we access her account?

    My mum can't access her account. It says its locked and asked for her security questions, but she can't remember what they are. How do we access her account?

    Hi sarahmcmast3r,
    If you are having issues accessing an account and can't remember the security question answers, you may find the following article helpful:
    Apple ID: All about Apple ID security questions
    http://support.apple.com/kb/HT5665
    Regards,
    - Brenden

  • HT4285 how to deactivate my iphone if it was stolen ? and i dont have the serial number.

    how to deactivate my iphone if it was stolen ? and i dont have the serial number.

    If you have an iCloud account the you can go to www.iCloud.com and sign in with your Appleid.  Click on Find my iPhone and Find it's location, deactivate or Wipe it.
    I would also call your Mobile service provider and have them cancel the service for that unit.
    Regards,
    Captfred

  • HT1212 i forgot my passcode for iphone 5s, i dont wanna lose my phone, its ok for me to delete all the files since its new and i dont have files yet.  anyone help me waht to do. can i bring it ti apple store and ask for their assistance

    i forgot my passcode in my iphone 5s. i dont wanna lose my phone, its new so i dont have files yet so its ok with me if all the files deleted, but i want to use my phone,

    Stop making illogical statements and posting multiple times.
    READ the article from which this silly statement was posted and follow the detailed (and explicit) instructions.

  • How do I reinstall Lion when I bought it online and I dont have it

    Hi how can I reinstall Lion on my computer w/o installing first SL and then Lion.
    I just want to install Lion.
    The other problem is that I bought it online and I dont have the dmg.
    Cheers

    Boot up holding command-r keys into Lion Recovery Volume.
    The screen should give you these choices...
    Restore from TM backup
    Reinstall Mac OS X
    Get help online
    Disk Utility

  • How to get the jar file without knowing its name and any class inside it?

    Hello, everybody!
    I would like to know if there's a way to get a reference programatically to the initial jar without knowing its name and any class contained in it. By "initial jar" I mean the jar that was called in the prompt, like this:
    java -jar jarfile.jaror in another way, in a graphical system. To be sincere what I really want is to get a reference to the jar's manifest, but I know if I can get a reference to the jar I can get a reference to its manifest file. Or if you know a way to get the manifest directly, it would also help. So, is there a way to do this?
    Thank you.
    Marcos

    jverd wrote:
    marcos_aps wrote:
    abillconsl wrote:
    Can you be more specific - IOW, can you cite a specific case?Absolutely. I want to access the jar in source code with the java.util.zip.JarFile class, for example.But why? You still haven't provided a use case or explained what you're trying to accomplish. As already pointed out, whatever you're trying to do, this is a brittle solution. If you explain what you're trying to accomplish with this, somebody may be able to suggest a better approach.jverd, I explained for baftos. Anyway, I will try to be more specific. I start my sytem like this, from, say, for example, jar1.jar:
    import br.product.System;
    public static void main(String[] args)
        System.start("NameOfTheSystem");
    }The System class is in util.jar, for example. This jar is used by all systems. I wouldn't like to pass in the name of the system, as above. I would like that the System class could read it from jar1.jar's manifest file. I just would like to have this:
    import br.product.System;
    public static void main(String[] args)
        System.start();
    }It is more elegant and I don't have the name of the system in two places: code and manifest file.
    Marcos

  • When i open iPhoto i get a message saying library is locked and i dont have permission. how do i fix this? I'm a complete novice at macs, i cant even access iPhoto at all.

    hi i upgraded iphoto and now when i open it it says library locked no permission ect,
    i downloaded iphoto library manager but im just not cokputer savvy enough to do anythhing
    HELP!! i just want my photos back and want to be able to empty my phone of pics again.

    First open the iPhoto Library package with the Finder as shown in this screenshot:'
    Look for the file named iPhotoLock.data and move it to the Trash in the Dock. Launch iPhoto and see if that helped.
    If not Apply the two fixes below in order as needed:
    Fix #1
    1 - launch iPhoto with the Command+Option keys held down and rebuild the library.
    2 - run Option #4 to rebuild the database.
    Fix #2
    Using iPhoto Library Manager  to Rebuild Your iPhoto Library
    1 - download iPhoto Library Manager and launch.
    2 - click on the Add Library button and select the library you want to add in the selection window..
    3 - Now that the library is listed in the left hand pane of iPLM, click on your library and go to the Library ➙ Rebuild Library menu option.
    4 - In the next  window name the new library and select the location you want it to be placed.
    5 - Click on the Create button.
    Note: This creates a new library based on the LIbraryData.xml file in the library and will recover Events, Albums, keywords, titles and comments but not books, calendars or slideshows. The original library will be left untouched for further attempts at fixing the problem or in case the rebuilt library is not satisfactory.
    OT

  • My ipad is locked and i dont have the passcode, it locked by itself as this has happened for the fist time.

    my ipad is locked, it seems to have locked itself never happened before.  How do i unlock if i dont have the passcode

    If you've forgotten the passcode then you will need to connect the iPad to the computer that you normally sync to and you should then be able to reset the iPad and re-sync your content to it (http://support.apple.com/kb/HT1212) - you may need to put the iPad into recovery mode : http://support.apple.com/kb/ht1808

  • I have a iphone 3gs and its locked and i dont know the code, how do i reset it need help with it ASAP

    i have and iphone 3gs that has a code on it. my brother owns it but his ex girlfriend refuses to give him the code. ive disasembled the whole the thing straight down to where theres nothing but plastic theres no reset button unless you unlock the phone. my question is can i disasemble it to where i dont have to buy a brand new motherboard, and if  so how do i do it without sending it off to an apple store?

    You should read the manual:
    iPhone User Guide (For iOS 5.1 Software)
    Open itunes, connect iphone, click restore

  • How you turn off mirror mode it keeps turning on and i dont have it connected

    what can i do

    Give this a Try an see if it Helps with your Razr: With the Issue it's Having if it Does Not Let me Know!!!
    These are the Instructions on Clearing the Cache Partition:  For Razr & Razr Maxx
    Top Alternate method
    Power the device off.
    Press the Power button then select Power off.
    If the device doesn't respond to input, press and hold the Volume Up / Down then press and holdPower button. When the device screen goes blank release the Power button while continuing to holdVolume Up / Down, proceed with step 3.
    Press and hold the Volume Up / Down then press the Power button.
    When presented with the Boot Mode Selection Menu release all buttons.
    Press Volume Down to select Recovery then press Volume Up.
    From the Droid triage screen, simultaneously press Volume Up / Down.
    Select Clear the Cache Partition then press the Power button.
    Select reboot system now then press the Power button.

  • How can i get my iphone 5s  serial number? its off and i dont have the box

    i want to take my iphone to the apple store but they ask for the serial number for the phone and my phone is off doesnt charge and i lost the box

    With iTunes on your computer assuming you have synced your iPhone with iTunes and/or backed the iPhone up with iTunes.
    http://support.apple.com/kb/ht4061
    You shouldn't need the serial number with taking it to an Apple Store unless it has changed. Your cell phone number should be enough.

  • How do I edit the file where sites which I have typed in on the command line are stored? These are sites which I no onger use.

    At times I type in a site name on the command line which I want to visit. This goes into a file which is accessed by highlighting the triangle on the right side of command line. This file contains previous sites which were accessed in the past. How do I edit this file and and remove previous site URLs?

    Use these steps to remove saved (form) data from a drop down list:
    #Click the (empty) input field on the web page to open the drop down list
    #Highlight an entry in the drop down list
    #Press the Delete key (on Mac: Shift+Delete) to remove it.
    *http://kb.mozillazine.org/Deleting_autocomplete_entries
    *https://support.mozilla.com/kb/Clearing+Location+bar+history
    *https://support.mozilla.com/kb/Cannot+clear+Location+bar+history

  • I have purchased a monthly subscription to Adobe PDF pack so that i can edit a PDF file, i have uploaded the file and its now in "my assets". how do i now edit this file??

    I have purchased a monthly subscription to Adobe PDF pack so that i can edit a PDF file, i have uploaded the file and its now in "my assets". how do i now edit this file??

    You can't edit a file with PDF Pack, but you should be able to convert it to a Word document, and if you are really lucky edit THAT and make a new PDF. Don't expect too much though!

  • How can I edit the file name of the home page?

    How can I edit the file name of the home page?
    Gr Ammani

    I have a similar issue with regards to the filename...
    When I navigate to my website, it doesnt work unless I actually type the filename at the end of it. Example: type in "www.whitelion.com" (this is my real domain name) and it doesnt work. When I type in "www.whitelion.com/index.html" then it works.
    This is obviously inconvenient because my clients will never know to add the filename to the end of the site.
    Is there any setting or way to get the page to appear by just typing the original domain name without adding the extension?
    Thanks,
    Emelia

  • How can i edit psd files in PS touch or which software/app i need for androiud tablet (newest tablet)

    how can i edit psd files in PS touch or which software/app i need for androiud tablet (newest tablet) @samsung

    You can import PSD files into Photoshop Touch but the PSD file will be flattened. (The original, of course, will remain untouched; PS Touch just copies it upon import.) I imagine this was done as a failsafe measure since PS Touch has no support for masks or adjustment layers (not to mention that PS Touch only has support for about 12 layers).

Maybe you are looking for

  • Error while invoking a automated activity

    Hello, I don't know whether this is the correct quesiton to this forum but since I am getting error in NW BPM process, I am writing it here. I have created a process which is getting triggered by WS call. The first step after start is automated activ

  • How can I find out which device made a purchase on my account?

    I have three children that are all attached to my iTunes account. Two of them are very good at asking me before downloading anything. One of them (my boyfriend's son) doesn't understand the concept of reading before downloading even though he's been

  • Error comes up saying "(app name)" is damaged and can't be opened. Try downloading it from the app store again.

    I just downloaded Frontline Commando. When i Try to open them, this error message pops up: I tried to re download it, but the same error pops up. This is happening with all my apps I download out of the app store. What is the problem? I am running OS

  • Doubt on xslt mapping

    hai experts,      i create a scenario on file to jdbc using xslt mapping.In that xslt mapping how to map the fields to database.from sender side it is picked from server but the records are not placed in database.   any one have step by step  for xsl

  • IPhoto 11 crashed - Lost an entire album

    Hi, I am using iPhoto 11 (version 9.4.3) on a macbook pro with retina display, OSX 10.8.3 iPhoto crashed as I was editing a photo, a message saying iPhoto crashed unexpectatly and asking if I wanted to submit a report to apple or restart came up, I p