Delete httpd.conf file for apache!

I have mistakenly deleted httpd.conf file for apache.. then the localhost was not work anymore!! .. How can I solve this problem? I have XOS 10.9

Look in the Originals folder inside the apache2 folder. Make a copy of the original httpd.conf file.

Similar Messages

  • Httpd.conf configuration for Apache plugin

    Hi,
    anyone have a sample httpd.conf file configured for proxy to WL 6.1, but only
    limited content?
    Meaning : static content is served on the apache (gifs, html, ...) and ALL THE
    REST is proxyd to WL...
    The WL part i guess is like this :
    <IfModule mod_weblogic.c>
    WebLogicCluster x:7001,y:7001
    CookieName WebLogicSession
    MatchExpression *.*
    </IfModule>
    Its the Apache part I cant find any info on.
    Thanks in advance.

    try this:
    <IfModule mod_weblogic.c>
    WebLogicCluster x:7001,y:7001
    CookieName WebLogicSession
    MatchExpression /SERVLET_NAME
    MatchExpression *.jsp
    </IfModule>
    That should do it ... but you should know that there are more problems down that way ...

  • Apache httpd.conf file pointing to Portal

    How do I define a virtual host in an Apache httpd.conf file that points to a portal page?

    Hi,
    If you want to use name-based virtual hosts you need to define at
    least one IP address (and port number) for them.
    Here is a sample from the httpd.conf file
    #NameVirtualHost 12.34.56.78:80
    #NameVirtualHost 12.34.56.78
    NameVirtualHost 130.35.92.126
    # VirtualHost example:
    # Almost any Apache directive may go into a VirtualHost container.
    #<VirtualHost ip.address.of.host.some_domain.com>
    # ServerAdmin [email protected]_domain.com
    # DocumentRoot /www/docs/host.some_domain.com
    # ServerName host.some_domain.com
    # ErrorLog logs/host.some_domain.com-error_log
    # CustomLog logs/host.some_domain.com-access_log common
    #</VirtualHost>
    <VirtualHost <130.35.92.126>
    DocumentRoot /webdb/apache80_1/Apache/Apache/htdocs
    ServerName domain1.com
    ServerAlias domain1
    #ErrorLog /webdb/apache80_1/Apache/Apache/logs/httpds_error_log
    #CustomLog logs/host.some_domain.com-access_log common
    </VirtualHost>
    You can copy the above lines and change the domain1 and the ip address to the name of your domain and the ip address of your machine.
    Thanks,
    Sharmila

  • Rewriterule in httpd.conf file of oracle application server 10g r1

    Hi Team
    we had hack in our report server which is load balanced oracle report server  and to fix this we found a patch . that was to rewrite the url for report server . but problem is we have virtualhost configure in our httpd.conf file because of that rewriterule is not working is anybody good with httpd.conf file and help us with this.
    contact of httpd.conf file
    <VirtualHost *:79999>
        ServerName xx.com
        Port 80
        DocumentRoot "/OraHome_1/Apache/Apache/htdocs"
    </VirtualHost>
    new entry we have put in
    RewriteLog /OraHome_1/Apache/Apache/logs/rewrite_din.log
    RewriteLogLevel 9
    RewriteEngine On
    RewriteCond %{QUERY_STRING} (.*)destype=file(.*) [NC]
    RewriteCond %{QUERY_STRING} (.*)desname=(.*) [NC]
    RewriteCond %{QUERY_STRING} !(.*)desname=/rep_des/[A-Za-z0-9](.*) [NC]
    RewriteRule (.*)reports(.*)$ /forbidden.htm [R] [NC]
    but still these entries are not working . it still going to old web page not to forbidden.htm
    can you please help us .

    Hi,
    Make sure the value of the NLS_LANG environment variable is compatible with the default locale setting of the operating system.
    Check the below links :
    http://docs.oracle.com/cd/B14099_19/core.1012/b14004/iasconfig.htm#BHCJHBBB
    Postinstallation Tasks
    Thanks,
    Sharmela

  • Httpd.conf file missing in action

    This is a weird one. I want to modify my httpd.conf file so my URL's all default to lower case. I'm using MAMP, so I navigated to Applications > MAMP, opened the file, modified it and restarted my server. (I also modified an .htaccess file.)
    I then added the code LogLevel trace8 to my config file, with the understanding that I would see more "verbose" messages in my error log. Afterr restarting my servers, I reloaded my web page, then checked the log - nothing changed. That is, the log is recording my activity, but it doesn't display "verbose" messages.
    Someone who was helping me on an Apache forum came to thte conclusion that my httpd.conf fiile isn't being used. So I typed httpd.conf into Apple's finder and, sure enough, I found half a dozen files with that name. I couldn't determine which is the right one, so I modifed all of them and restarted my serverrs again. There's STILL no change in my URL's, and my log is still recording generic messages.
    Does anyone have any idea how I can solve this problem? First, am I correct in understanding that there must be at least ONE active httpd.conf files in order for my sites to function? If so, then I know there must be an invisible httpd.conf file somewhere on my MacBook that I need to locate.
    Also, is it possible for error messages to be written to more than one Apache log at a time? It's just so strange that the error log in my Applications > MAMP folder is keeping tabs on the web pages I visit when the httpd.conf file in the same folder is apparently doing nothing.
    Thanks for any tips.

    MAMP is not Apple software and is well outside the normal 'consumer' stuff they deal with in Apple stores, I therefore don't think a Genius would be either will or able to investigate this. However I can provide the following information and maybe others who have used MAMP can provide more.
    /etc/apache2/httpd.conf is the file used on a standard OS X Mac
    /Library/Server/Web/Config/apache2/httpd_server_app.conf is the equivalent file used on a Mac server if you have installed Apple's Server.app
    I have seen conflicting comments suggesting the location for the equivalent file for MAMP is -
    /Applications/MAMP/conf/apache/httpd.conf
    or
    ~/Library/Application Support/appsolute/MAMP PRO/httpd.conf
    The following might be helpful http://foundationphp.com/tutorials/vhosts_mamp.php

  • I need to download the httpd.conf file included in Yosemite update.

    Where can I go to re-download the version of the httpd.conf that is included with the Yosemite update. Yosemite upgrades to a later version of Apache, and it puts a new httpd.conf file on the machine. When I update, my localhost server stopped working, and in my attempts to get it working again, I accidentally overwrite the file. So, I would like to get my machine back to the point of the update, so I can do a better job of correcting the problems, and getting localhost working again. Does anyone have a URL or anything I can go to to get a fresh version of httpd.conf for Yosemite? Thanks very much.

    Yes, somebody could, but that is illegal. I'm sure you can understand that given this site is Apple's.
    You can extract what you want from the installer package if you know how to Pacifist and have a copy of the installer application. Or if you own another computer running Yosemite, then you can get a copy from it.
    If you ask someone to send you a copy while on these forums, then it's likely the moderators will dismiss you for the violation. I understand your situation, but no one here can help you without it causing a stink. I hope you understand.

  • Not able to find mod_oc4j.conf file for setting Load Balancing on ESB

    Hi Guys,
    I am trying to set load balancing on ESB ,I got one document from oracle site for setting the load balancing on ESB. According to that document we have to change mod_oc4j.conf file for setting the roundrobin:weighted,metric,random algorithms.
    But I am not able to find mod_oc4j.conf file in my ORACLE_HOME directory.
    Actual path is
    ORACLE_HOME/Apache/Apache/conf/mod_oc4j.conf file
    I have All folders up to conf but in conf folder there is no mod_oc4j.conf file.
    I just want to know is there any installation problem or we have to create
    mod_oc4j.conf file in that conf folder for seting the loadbalancing on ESB
    kindly give me the exact solution on this .
    Thanks in advance

    Hi Chintan,
    I have apache folder ,but there i have cong folder but in that I am not able to find mod_oc4j ,I know ESB it maintain load in transparent way but in my project we have heavy load on ESB we have to maintain this load in a proper way
    Please give me the exact solution to set load balancing On ESB.
    Thank you
    Bollineni

  • Httpd.conf settings for multiple vhosts

    If you configure multiple vhosts in your httpd.conf file, how do you specify different hds- and hls-live apps dirs in said httpd.conf file?
    It appears these settings can only point at one location... and if your vhosts don't share an apps dir... I don't get how you could point to the correct location for individual vhosts.

    Can you expand on this? I have tired to answer below
    LoadModule vhost_alias_module modules/mod_vhost_alias.so
    <VirtualHost *:8080>
              DocumentRoot "/dirlocal/apps/adobe/fms/webroot_8080"
    <IfModule hlshttp_module>
    <Location /hls-protected-1>
        HLSHttpStreamingEnabled true
        HLSMediaFileDuration 10000
        HttpStreamingContentPath "/dirremote/hls-8080/protected1"
        HLSFmsDirPath ".."
        Options -Indexes FollowSymLinks
    </Location>
    <Location /hls-protected-2>
        HLSHttpStreamingEnabled true
        HLSMediaFileDuration 10000
        HttpStreamingContentPath "/dirremote/hls-8080/protected2"
        HLSFmsDirPath ".."
        Options -Indexes FollowSymLinks
    </Location>
    </IfModule>
    <IfModule jithttp_module>
    <Location /hds-protected-1>
              HttpStreamingJITPEnabled true
              HttpStreamingContentPath "/dirremote/hds-8080/protected1"
              HttpStreamingJITConfAllowed false
              JitFmsDirPath ".."
              Options -Indexes FollowSymLinks
    </Location>
    <Location /hds-protected-2>
              HttpStreamingJITPEnabled true
              HttpStreamingContentPath "/dirremote/hds-8080/protected1"
              HttpStreamingJITConfAllowed false
              JitFmsDirPath ".."
              Options -Indexes FollowSymLinks
    </Location>
    </IfModule>
    </VirtualHost>
    <VirtualHost *:8181>
         DocumentRoot "/dirlocal/apps/adobe/fms/webroot_8181"
    <IfModule hlshttp_module>
    <Location /hls-protected-1>
        HLSHttpStreamingEnabled true
        HLSMediaFileDuration 10000
        HttpStreamingContentPath "/dirremote/hls-8181/protected1"
        HLSFmsDirPath ".."
        Options -Indexes FollowSymLinks
    </Location>
    <Location /hls-protected-2>
        HLSHttpStreamingEnabled true
        HLSMediaFileDuration 10000
        HttpStreamingContentPath "/dirremote/hls-8181/protected2"
        HLSFmsDirPath ".."
        Options -Indexes FollowSymLinks
    </Location>
    </IfModule>
    <IfModule jithttp_module>
    <Location /hds-protected-1>
      HttpStreamingJITPEnabled true
      HttpStreamingContentPath "/dirremote/hds-8181/protected1"
      HttpStreamingJITConfAllowed false
      JitFmsDirPath ".."
      Options -Indexes FollowSymLinks
    </Location>
    <Location /hds-protected-2>
      HttpStreamingJITPEnabled true
      HttpStreamingContentPath "/dirremote/hds-8181/protected1"
      HttpStreamingJITConfAllowed false
      JitFmsDirPath ".."
      Options -Indexes FollowSymLinks
    </Location>
    </IfModule>
    </VirtualHost>

  • Problems modifying the httpd.conf file

    We are running Flash Media Server 4.5 on Windows Server 2008. We want to move the vod folder which by default is in webroot. We create a new vod folder and then modify the httpd.conf file so that it points to the new vod location. We then stop and restart the Flash Media Server service. However, the server acts like the old paths are cached somewhere in the system. Videos in the new vod folder do not work. Videos in the old vod folder open even though the httpd.conf file was modified.
    We made sure that the client browsers on which we tested this had their cache cleared.
    Anyone have any ideas what might be going on here?

    Thanks for your reply! I tried restarting the FMSHttpd service separately. Still encountering this issue, however.
    Here's what we are doing:
    1. We create a new vod folder.
    2. We modify the httpd.conf file in Flash Media folder -> Apache2.2 -> conf so that it points to the new vod location. For example, we make a modification to HttpStreamingContentPath like the following:
    <IfModule jithttp_module>
    <Location /hds-vod>
        HttpStreamingJITPEnabled true
        HttpStreamingContentPath "..\..\[new vod folder]"
        HttpStreamingJITConfAllowed true
        JitFmsDirPath ".."
        Options -Indexes FollowSymLinks
    # Uncomment the following directives to enable encryption
    # for this location.
    #   EncryptionScope server
    #   ProtectionScheme phds
    </Location>
    </IfModule>
    3. We restart the FMSHttpd service.
    After doing this, we find that the path to the old vod folder is still working. Videos in the new vod folder don't open as expected.
    Are there any other steps that we should be taking? Many thanks for any help.

  • [svn:bz-trunk] 14509: Oops. Only meant to delete webapp conf files locally.

    Revision: 14509
    Revision: 14509
    Author:   [email protected]
    Date:     2010-03-02 07:32:11 -0800 (Tue, 02 Mar 2010)
    Log Message:
    Oops. Only meant to delete webapp conf files locally. Adding the files I deleted back in.
    Added Paths:
        blazeds/trunk/servers/apache-tomcat-6.0.14/conf/Catalina/localhost/blazeds.xml
        blazeds/trunk/servers/apache-tomcat-6.0.14/conf/Catalina/localhost/qa-manual.xml
        blazeds/trunk/servers/apache-tomcat-6.0.14/conf/Catalina/localhost/samples.xml

  • Where to install website files for Apache

    Apache newbie here, with a basic question - is there a standard or recommended directory that I should use for a website's files? I'm packaging WebGUI, and in the process getting my feet wet with Apache for the first time (well, it had to happen sometime, I suppose ). The WebGUI walkthrough suggests I create a new directory under / called /data, and use a subdir under that as DocumentRoot. This works, but I'm wondering is it regarded as OK to create random directories under / like that, or should I be using /home/httpd or something like that?

    Hi!
        Linux's, or better, any UN*X's directory structure depends entirely on system's administrator (freedom of choice;) ). Noone forces you to have all binaries in /bin or /usr/bin. You can even follow some nasty examples like /Program Files/
        There are however some recommendations (you may even consider them standards) of how should a UN*X compilat system's directory structure look like. It is nicely described at http://www.tuxfiles.org/linuxhelp/linuxdir.html.
        Therefore I would place my local web pages in /var/www (I do in fact, just not on my laptop from which I am writing right now:))
        There is one custom, which is common on multiuser systems: If a user wants have his web pages on that server, he can simply create a directory in his home directory (the name of the directory is defined by sysadmin, but mostly it is '$HOME/public_html') and put all his webpages there. Those pages are then accessible via url like http://serverdomain.org/~username. This feature however requires some slight tweaking in Apache settings (not sure how much tweaking, since I do not use it, but it can be pretty simple, like uncommenting a line in httpd.conf:) )
       Hope this post is useful;)
    -M.

  • I deleted a specific file folder from my Seagate backup drive, via Time Machine. Instead of only deleting that file, it deleted ALL my files for that date.

    1. Why? I was quite obviously selecting one file folder ONLY.
    2. Is there any way to retrieve the lost items?
    3. How do I avoid this happening in the future?

    Never had any issues while deleting specific files/folders from a time machine backup.
    However, regarding the original post, what do you mean by "file folder"? Did you select a FILE for deletion, or a FOLDER? These two terms tend to be quite different, you know.
    If you selected a FOLDER, then ALL FILES inside the folder have been deleted. If you selected a single FILE, then only that file should have been deleted. "Delete all backups of..." is a completely different story.

  • Deleted syslog.conf file

    Hello. I was trying to configure proftpd and intended to delete proftpd.conf, but instead I deleted syslog.conf. I am using the following version of Mac OS X:
    System Version: Mac OS X 10.4.10 (8R2232)
    Kernel Version: Darwin 8.10.1
    Could somebody with a similar configuration please post the contents of their syslog.conf file so that I can re-create the file on my system without having to re-install the OS?

    /etc/syslog.conf already exists - you just need to edit it to your needs.
    The issue, of course, is that only root can edit this file. Your best bet is to run your favorite text editor using sudo in Terminal.app, e.g.:
    sudo vi /etc/syslog.conf

  • Where is "httpd.conf" file in Apex 3.2 w/ embedded PL/SQL gateway (in 11g)?

    Hi,
    I need to config the file to direct the standard ApEx URL (ie: http://xxx.x.x.x:8080/apex/f?p=108:1) to a nicer URL (ie: http://xxx.x.x.x:8080/apex/test.html, for example) to the end users. I believe the file should be located in something like $ORCLE_HOME/Apache/Apache/conf in the Oracle HTTP Server Apache web server version. However, it's NOT in the Embedded PL/SQL Gateway version.
    Any idea?
    Thanks much,
    Helen

    I don't think that you could do this using the native embedded gateway. Since it is not actually running Apache. It is actually running through the XML DB connectors.
    2 options:
    1) Use a front end server as a proxy, or as the mod_plsql gateway
    2) Pretty up your URL's using the application/page aliases: http://xxx.x.x.x:8080/apex/f?p=app:page where app and page have been assigned as application and page aliases resp.
    -Richard

  • Unable to recreate replica as I cannot delete the xml files for the old VM on Hyper-v Cluster

    My setup
    There are 2 sites each running a Hyper-v 2012-R2 cluster comprising of 5 nodes each.
    All the machines are in a HA state and stored on the shared clustered resource.
    Initially we had replication working and it was replicating all the servers from Site A to Site B
    There were some replication issues which needed me to stop the replication and redo it again, in doing so I firstly removed replication on Fail-over cluster manager on Site A and did the same on Site B.
    On one of the servers I had to remove the VM, although the VM config and Disks still remain on the Site B Cluster.
    I was trying to recreate the replica but it always fails with the following error :
    Hyper-v failed to enable replication for virtual machine xxxxxxxx operation aborted (0x80004004).....
    I followed an article to stop the Hyper-V Virtual Machine Management Service and try delete the file,
    When i tried to stop the service it would restart automatically and I was unable to delete the file. I put the service in disabled which kept it stopped however I was still unable to delete the files. I also tried to get File assassin which can help delete
    and clear locked files but it too was unable to delete it while the service was running or stopped as well as its additional mode whereby it will delete it on next reboot.
    The  Article Https://social.technet.microsoft.com/Forums/windowsserver/en-US/4c4f2535-81ee-4a21-a920-b5632de2be37/hyperv-old-vm-folders-cannot-be-deleted?forum=winserverhyperv
     makes mention of stopping another service Hyper-V
    Image Management Service but I am unable to find it on 2012-R2 server.
    I have also tried to put the additional nodes in a paused drained roles state leaving only one node as the active one but it still will not let me delete the VM config
    files, without removing those files I cannot re-initiate the Replication.
    Any assistance would be greatly appreciated.

    Can you storage migrate any other vms or resources off of the CSV that contains the XML file in question? If so you may be able to then take that CSV offline, remove it from available storage, re-add as available storage, and add to CSV Volumes. Maybe
    that will clear your lock. 

Maybe you are looking for

  • Problem with iTunes and multiple user accounts in Windows

    I am running iTunes on a PC (Windows XP) and have multiple user accounts. When I switch between user accounts and try to open iTunes, I get a message that tells me I can't open the program because another user is using it. Is it really true that I ca

  • Trying to add a new row to a JTable

    I'm having trouble adding a row dynamically to a JTable. I've been able to populate the table with an array and that works well, but how do you add new rows after the program is running?

  • Webmail link on default index page is not showing up

    I am using the main index.html for testing purposes. I have wikis, blog, calendar, and mail all enabled in sites/webservices, as well as configure server side mail rules. When I go to the default web site (changed to https/ssl) I only show My Page, W

  • Photos show as pdf's-Help Please!!

    All my photo files show up as PDF'S. The icons for all the photos on my hard drive are pdf's. ( the red adobe icon) This includes e-mails of word docs- they also must be opened with adobe reader.. I have to save as-then open with Adobe reader in orde

  • Windows Update (April 2015) is automatically upgra...

    Just as the title says... Microsoft is automatically updating older versions (the ones with a proper and functional UI) to Skype 7.0 (with the childish and arguably poor UI) through April Microsoft monthly update (aka Patch Tuesday). Microsoft update