PHP need a fresh http.conf file

I modified my http.conf file to install PHP but obviously I did something wrong. Is there a way to get a fresh new http.conf file. My problem is that I did not take a back-up before the modification.

Hi Alan,
   I like your second suggestion as I like BBEdit. However, it omits one important step that you so thoughtfully included in your command-line suggestion; saving a backup of the broken config file. I doubt that all of it is broken and if the changes are extensive, one simple method of isolating the problem is to add the changes back individually or in small groups. Reboot the server between each change so that you'll see when the problem change is added.
   You might learn a lot from the "apachectl configtest" command. Of course again, that requires the "bad" config file to find the problem. However, apachectl will usually tell you exactly which line is causing the problem.
Gary
~~~~
   Never face facts; if you do you'll never get up in the morning.
         -- Marlo Thomas

Similar Messages

  • Do we need to update snpsagent.conf File and Windows Environmental variable in ERPI 11.1.2.2

    In ERPI 11.1.1.3 Admin guide its mentioned we need to update the below , do we need to do the same in 11.1.2.2 version also
    Updating the snpsagent.conf File
    ä To update the snpsagent.conf file:
    1 Navigate to the folder where Oracle Data Integrator is installed.
    For example, C:\OraHome_1\oracledi\tools\wrapper\conf.
    2 Using a text editor, open the snpsagent.conf file.
    3 Search for: wrapper.java.library.path.1.
    4 On a new line, add the following text:
    wrapper.java.library.path.2=../drivers
    5 Close and save the file.
    Updating the Windows Environment Variable
    After you update the snpsagent.conf file, add the ODI drivers path information to the
    Windows environment variable.
    ä To update the Windows environment variable:
    1 On the desktop, right-click My Computer, select Properties. Select the Advanced tab, and then click
    Environment Variables.
    2 In the System variables section, select the Path variable, and then click Edit.
    3 At the end of the Variable value line, add a semi-colon (;), and then add the Oracle Data Integrator
    driver path.
    For example, C:\OraHome_1\oracledi\drivers.
    4 Click OK three times.
    5 Restart the Oracle Data Integrator Agent Service.
    Thanks

    You should not have to do this in ODI 11.1.1.6 for ERPi 11.1.2.2.

  • Http.conf's counterpart?

    Experts:
    I have a question about web server.
    From the web server's http.conf file, I can see which ECC system the web server is connected.
    Is there any place (e.g.transaction, profile, etc.)  at ECC where I can see which web servers are connected with this ECC?
    Thanks for your help.
    Best regards!

    Your question is not clear.... what sort of webserver are we talking about?....
    If its a HTTP content repository will be in OAC0, if its an external server you must have an RFC, etc...
    Regards
    Juan

  • Is ADF-BC service entry needed in OHS conf file

    HI,
    I have a weblogic server cluster with an Admin Server and 2 managed soa servers. There is an http server which routes the request.
    http server conf file has entries like
    <Location /console>
    SetHandler weblogic-handler
    WebLogicHost soahostadm1s
    WeblogicPort 7101
    </Location>
    <Location /soa-infra>
    SetHandler weblogic-handler
    WebLogicCluster soahostnod1s:8101,soahostnod2s:8101
    </Location>
    So when i deploy an soa composite, due to above entry of soa-infra in mod_wl_ohs.conf its routing properly to managed servers when i test a service.
    BUt what about ADF-BC services? They do not go under soa-infra. Say my adf-bc service has context root of InternalOrderSDO(from FOD), should a entry be made into the conf file?
    and do we need to make such entries every time we deploy the service?
    Thanks
    Manish

    Doing this automatically would challenging as one might be able to use a mod_wls.conf or the like.
    In a development environment you don't need such a configuration, but for a production environment this is good.
    Do the development without the OHS in front, and when moving to production use the URLs through OHS...
    --olaf                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • 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.

  • OTC ssl.conf file does not have ssl wallet file location details

    Hi B2B Gurus,
    While doing the HTTPS configuration in OTC we observed that some of lines were missing in ssl.conf file located at <Oracle_Home>\Apache\Apache\conf. The below mentioned lines are missing in OTC’s ssl.conf but present in OracleB2B’s ssl.conf
    Even ssl wallet file location is also missing in OTC ssl.conf file as mentioned below.
    Can u please let us know as why these lines are missing or should we manually add these lines when we do HTTPS on OTC ?
    Listen 4444
    <VirtualHost default:4444>
    # General setup for the virtual host
    DocumentRoot "E:\Oracle_b2b\cachehome\Apache\Apache\htdocs"
    ServerName DSCP17506.TechMahindra.com
    ServerAdmin [email protected]
    ErrorLog "|E:\Oracle_b2b\cachehome\Apache\Apache\bin\rotatelogs logs/error_log 43200"
    TransferLog "|E:\Oracle_b2b\cachehome\Apache\Apache\bin\rotatelogs logs/access_log 43200"
    Port 443
    # SSL Engine Switch:
    # Enable/Disable SSL for this virtual host.
    SSLEngine on
    # SSL Cipher Suite:
    # List the ciphers that the client is permitted to negotiate.
    SSLCipherSuite ALL:!ADH:!EXPORT56:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP
    # Server Wallet:
    # The server wallet contains the server's certificate, private key
    # and trusted certificates. Set SSLWallet at the wallet directory
    # using the syntax: file:<path-to-wallet-directory>
    SSLWallet file:E:\Oracle_b2b\cachehome\Apache\Apache\conf\ssl.wlt\default
    # Certificate Revocation Lists (CRL):
    # Set the CA revocation path where to find CA CRLs for client
    # authentication or alternatively one huge file containing all
    # of them (file must be PEM encoded)
    # Note: Inside SSLCARevocationPath you need hash symlinks
    # to point to the certificate files. Use the provided
    # Makefile to update the hash symlinks after changes.
    #SSLCARevocationPath conf\ssl.crl
    #SSLCARevocationFile conf\ssl.crl\ca-bundle.crl
    # Client Authentication (Type):
    # Client certificate verification type and depth. Types are
    # none, optional and require
    #SSLVerifyClient require
    # Access Control:
    # With SSLRequire you can do per-directory access control based
    # on arbitrary complex boolean expressions containing server
    # variable checks and other lookup directives. The syntax is a
    # mixture between C and Perl. See the mod_ssl documentation
    # for more details.
    #<Location />
    #SSLRequire ( %{SSL_CIPHER} !~ m/^(EXP|NULL)-/ \
    # and %{SSL_CLIENT_S_DN_O} eq "Snake Oil, Ltd." \
    # and %{SSL_CLIENT_S_DN_OU} in {"Staff", "CA", "Dev"} \
    # and %{TIME_WDAY} >= 1 and %{TIME_WDAY} <= 5 \
    # and %{TIME_HOUR} >= 8 and %{TIME_HOUR} <= 20 ) \
    # or %{REMOTE_ADDR} =~ m/^192\.76\.162\.[0-9]+$/
    #</Location>
    # SSL Engine Options:
    # Set various options for the SSL engine.
    # o FakeBasicAuth:
    # Translate the client X.509 into a Basic Authorisation. This means that
    # the standard Auth/DBMAuth methods can be used for access control. The
    # user name is the `one line' version of the client's X.509 certificate.
    # Note that no password is obtained from the user. Every entry in the user
    # file needs this password: `xxj31ZMTZzkVA'.
    # o ExportCertData:
    # This exports two additional environment variables: SSL_CLIENT_CERT and
    # SSL_SERVER_CERT. These contain the PEM-encoded certificates of the
    # server (always existing) and the client (only existing when client
    # authentication is used). This can be used to import the certificates
    # into CGI scripts.
    # o StdEnvVars:
    # This exports the standard SSL/TLS related `SSL_*' environment variables.
    # Per default this exportation is switched off for performance reasons,
    # because the extraction step is an expensive operation and is usually
    # useless for serving static content. So one usually enables the
    # exportation for CGI and SSI requests only.
    # o CompatEnvVars:
    # This exports obsolete environment variables for backward compatibility
    # to Apache-SSL 1.x, mod_ssl 2.0.x, Sioux 1.0 and Stronghold 2.x. Use this
    # to provide compatibility to existing CGI scripts.
    # o StrictRequire:
    # This denies access when "SSLRequireSSL" or "SSLRequire" applied even
    # under a "Satisfy any" situation, i.e. when it applies access is denied
    # and no other module can change it.
    # o OptRenegotiate:
    # This enables optimized SSL connection renegotiation handling when SSL
    # directives are used in per-directory context.
    #SSLOptions FakeBasicAuth ExportCertData CompatEnvVars StrictRequire
    <Files ~ "\.(cgi|shtml)$">
    SSLOptions +StdEnvVars
    </Files>
    <Directory "E:\Oracle_b2b\cachehome\Apache\Apache\cgi-bin">
    SSLOptions +StdEnvVars
    </Directory>
    SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown
    # Per-Server Logging:
    # The home of a custom SSL log file. Use this when you want a
    # compact non-error SSL logfile on a virtual host basis.
    CustomLog E:\Oracle_b2b\cachehome\Apache\Apache\logs\ssl_request_log "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
    </VirtualHost>
    Thanks for your help in Advance.
    Regards,
    Priyanka

    Hi Ramesh,
    We added the missing entries in ssl.conf file and tested it out. It is working fine. When we did slient install we are facing this error, we found that this is a bug in 10.1.2.3 AS patch (5983622) silent install. Raised an SR on this and Support is working to get this fixed.
    Regards,
    Priyanka

  • I have Lightroom and want to install it on my new computer.  I do not need to transfer my previous files.  How do I do this?

    I have lighroom on my older computer, which my daughter is borrowing, and I need to download it onto my new computer. I do not need to transfer my previous files, I just want to start fresh on my new computer. How do I do this?

    Download, install, and activate with your serial number
    Lightroom - all versions
    Windows
    http://www.adobe.com/support/downloads/product.jsp?product=113&platform=Windows
    Mac
    http://www.adobe.com/support/downloads/product.jsp?product=113&platform=Macintosh

  • Where is the ojsp.conf file located

    The tutorial is kind of misleading. The jsp file is ready and the tutorial tell me to do the following steps
    Before you can run the application you need to make sure that your HTTP server is configured appropriately. Perform the following steps:
    1. Edit the ojsp.conf in notepad. This file is typically found in the <ORACLE_HOME>\Apache\jsp\conf directory. Add the following alias:
    BUT I DO NOT FIND ANY ojsp.conf file at all. I searched for it too. How to go forward on this.
    Secondly my apache server is up and running when I hit http://hostname:7777
    now under which directory should i place the folder containing the jps on the server to run the application
    Thanks in advance

    Hi Mthompson,
    Look at this on how to create the log file.
    http://winrichman.blogspot.com/search/label/xdodebug
    am sure, you did not create the email/smtp configuration, thats why you see this error.

  • Changing to 64 bit soon anyone know the important conf files to bakup?

    hello (:
    been running arch for nearly half a year now
    just got my ram upgrades..
    Was thinking of changing to arch 64 bit
    Any one know what conf file to backup? ..can help me on this please ?(:
    xorg.conf
    pacman.conf
    any more to back up ..?
    um..oh ya .. is it possible to migrate a system architecture ? like changing 32 bit to 64 bit?

    maybe /usr/share/{icons,themes} too
    also, if you're running a desktop machine, you may consider installing a 64bit kernel on your 32bit arch [ http://bbs.archlinux.org/viewtopic.php?id=66660 ] so you can use skype, google gears, google earth, wine, firefox with enabled tracemonkey without tricks. no point for 64bit on the desktop ATM IMHO.

  • 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

  • $doc root Variable use in obj.conf file of iPlanet6 SP2

    Is there any way I can build expressions in obj.conf file using $docroot variable?
    I have the following configured in the obj.conf now:
    <<Object name="default">
    NameTrans fn="NSServletNameTrans" name="servlet"
    NameTrans fn="pfx2dir" from="/servlet" dir="/home/ns6.0SP2/https-site/docs/servlet" name="ServletByExt"
    NameTrans fn="pfx2dir" from="/mc-icons" dir="/home/ns6.0SP2/ns-icons" name="es-internal"
    NameTrans fn="pfx2dir" from="/cgi-bin" dir="/home/ns-home/https-site/cgi-bin" name="cgi"
    NameTrans fn="pfx2dir" from="/manual" dir="/home/ns6.0SP2/manual/https" name="es-internal"
    NameTrans fn="document-root" root="$docroot"
    </Object>
    I would like to have something like this:
    <Object name="default">
    NameTrans fn="NSServletNameTrans" name="servlet"
    NameTrans fn="pfx2dir" from="/servlet" dir="$docroot/servlet" name="ServletByExt"
    NameTrans fn="pfx2dir" from="/mc-icons" dir="/home/ns6.0SP2/ns-icons" name="es-internal"
    NameTrans fn="pfx2dir" from="/cgi-bin" dir="$docroot/../cgi-bin" name="cgi"
    NameTrans fn="pfx2dir" from="/manual" dir="/home/ns6.0SP2/manual/https" name="es-internal"
    NameTrans fn="document-root" root="$docroot"
    </Object>
    I have tried the code above but unfortunatelly it does not work - I get "Not Found
    The requested object does not exist on this server." error.
    I need this to specify different $docroot-s for different URLs but keep the same default object for all of them.
    Is there any other way to implement this?
    Thank you very much for your cooperation!
    Sasha

    Yes, this technique does work.
    However, in your example, the NameTrans fn="pfx2dir" from="/cgi-bin" directive will probably not work as you expect. This is because the PathTrans fn="unix-uri-clean" directive (which is written to all obj.conf files iWS creates) will reject all paths that contain "..". For more information on the unix-uri-clean SAF, refer to the NSAPI Programmer's Guide at http://docs.iplanet.com/docs/manuals/enterprise/50/nsapi/03_direc.htm#18613

  • Ssi/XBitHack and conf file

    Hi,
    I want to make a site use ssi's without using ".shtml." My understanding is that if I modify /etc/httpd/httpd.conf, SA becomes useless. Is this true?
    Is the user "site" file /etc/httpd/sites/0005_ipaddress.conf an Apache configuration file specific for the site, and another possible place to put the "XBitHack on" directive? If so, can I just put it at the end?
    Will SA not override or modify/remove /etc/httpd/sites/0005_ipaddress.conf?
    Thanks!
    Rich

    Hopefully these will be helpful:
    report_server.conf:
    Use the server_name.conf file to define initial values for the Reports Server Cache, the Oracle Reports engine, and security; to register valid destination types; to specify the information to be logged; and to set other server-related values. This file is automatically created when you start up the server. If you want to rename your server and wish to keep custom configuration settings you've entered into this file, you must first rename this file to the new server name, then rename the server. Otherwise, the server will create its own new default configuration file.
    http://download.oracle.com/docs/cd/B14099_19/bi.1012/b14048/pbr_conf.htm#i1015272
    formsweb.cfg:
    This is the Forms Servlet configuration file that contains the following:
    * Values for Forms runtime command line parameters, as well as the name of the environment file to use (envFile setting).
    * Most of the servlet configuration parameter settings that you set during installation. You can modify these parameters, if needed.
    You manage the formsweb.cfg file through Enterprise Manager Application Server Control Console.
    http://download.oracle.com/docs/cd/B14099_19/web.1012/b14032/configure003.htm#i1067702

  • Conf file settings

    any one can explain the settings to be made in the report_server.conf file and formsweb.cfg file.

    Hopefully these will be helpful:
    report_server.conf:
    Use the server_name.conf file to define initial values for the Reports Server Cache, the Oracle Reports engine, and security; to register valid destination types; to specify the information to be logged; and to set other server-related values. This file is automatically created when you start up the server. If you want to rename your server and wish to keep custom configuration settings you've entered into this file, you must first rename this file to the new server name, then rename the server. Otherwise, the server will create its own new default configuration file.
    http://download.oracle.com/docs/cd/B14099_19/bi.1012/b14048/pbr_conf.htm#i1015272
    formsweb.cfg:
    This is the Forms Servlet configuration file that contains the following:
    * Values for Forms runtime command line parameters, as well as the name of the environment file to use (envFile setting).
    * Most of the servlet configuration parameter settings that you set during installation. You can modify these parameters, if needed.
    You manage the formsweb.cfg file through Enterprise Manager Application Server Control Console.
    http://download.oracle.com/docs/cd/B14099_19/web.1012/b14032/configure003.htm#i1067702

  • I removed my named.conf file and rebooted, zones blank, but dns now works...

    Folks,
    After upgrading from OS X server Mountain Lion, i skipped 'Mavericks' and upgraded when Yosemite and server 4 came out...
    Something whacky happened w/ my DNS(probably had temp info so i could upgrade to Yosemite...) anyway, everything worked,
    EXCEPT, i could not pull up my website that i am running on said server on internal network... all worked from outside...
    So... i renamed my 'named.conf' file and rebooted. EXCELLENT! everything works! EXCEPT! my DNS zones are not listed on the DNS control panel in server...
    YET, EVERYTHING STILL WORKS! even after a reboot! db Files are still in named directory, but not listed in Zones panel...
    at this point, since everything is working, i'm really reluctant to keep troubleshooting, but i would like to know why it's still working, and how i can rewrite the named.conf file so it will continue working... named.conf file contains:
    options {
    forwarders {
    68.XX.XXX.XXX;
    i masked out the actual IP - thanks!
    Rich Z

    Hi Moses.
    Here are the crash id's.. however, since disabling all extensions apart from firebug, it's no longer crashing. However, I'm still having trouble loading javascript files... I'm testing a .js file with only an alert statement in it, and the file isn't being found. I've checked the file for funny characters, line breaks are set to Unix LF, encoding is Unicode UTF-8 no Bom. I'm using php codeigniter, not sure if that would cause issues. I just can't think what is going wrong!
    I'm only using firefox so I can use firebug, so disabling firebug isn't an option. I've re-installed the latest firebug 1.5.4.
    http://crash-stats.mozilla.com/report/index/bp-526dd7f8-1f36-4ae6-b076-d8abb2100609
    http://crash-stats.mozilla.com/report/index/bp-b9adb719-a97a-4302-a4d1-55bea2100211

  • Ntp.conf file?

    I have been notified by my internet-provider that I need to close an open NTP-service which allows my Mac to be used in potential DDOS attacks. They ask me to close down the NTP-service by editing/inserting two lines in the ntp.conf file. How do I locate the ntp.conf file and how do I edit the file?

    Thanks for your reply, John.
    My ISP is asking me to insert these two lines in the file:
    restrict default kod nomodify notrap nopeer noquery
    restrict -6 default kod nomodify notrap nopeer noquery
    And they are referring to this:
    https://www.us-cert.gov/ncas/alerts/TA14-013A
    http://thehackernews.com/2014/02/NTP-Distributed-Denial-of-Service-DDoS-attack.h tml
    They are also asking me close/block port 123 with udp as protocol in my firewall.
    Do you have any further comments?
    I appreciate your feedback.

Maybe you are looking for

  • How to validate a date in a validation script

    I have a date field for which I have set a validation pattern using its Object palette i.e. Object > Value tab > Validation Pattern > Validation tab. The validation pattern I have there is simply 'date{YYYY-MMM-DD}' with an error message set in the V

  • Moving scenes around within an event?

    Can you rearrange scenes within an event in iMovie? I was able to import video from a mini DVD-r with an external DVD drive, but mysteriously some of the scenes got rearranged in the event. I'd like to "fix" the event so that the scenes run as they w

  • Parent & Entity Currency Adjustments

    Hi Guys, I have no idea of HFM :) We are receiving extracts from HFM which contains data at different levels (Entity Currency, Entity Currency Total, Entity Curr Adj, Parent Curr, Parent Curr Total, Parent Curr Adj). From these extracts we pick up th

  • IMac (Intel) Crashes

    My IMac (Intel) crashes when I am playing zanga games  on facebook. Last time took me 9 times of rebooting to get it going.  Anyone else having this problem. I am running 10.4 Tiger.

  • How long should it take to download iOS 5.1.1

    My computer is telling me the download is three hours. Really?