Php Moodule for Apache not working

Hi buddies
I have installed Solaris 10 on SPARC SUN 280R Fiber channel. I was able to configure apache. When I tried to installed phpnuke it was susccessful as long as the files path are concerned the Mysql dbase was also susccess ful. When the I access the Document root the php module seems to be not working as the displayed index.php was just text page. I tried with apache2 as well but the result was the same.
Please help me how resolve php module issue.
Raja Inayat
Sysadmin
IT-Services Centre
University of Peshawar
Pakistan
email: [email protected]
[email protected]

root the php module seems to be not working as the
displayed index.php was just text page. I tried with
apache2 as well but the result was the same.I don't believe the apache included with Solaris 10 includes PHP support; you will probably have to re-compile it . See the README file in /etc/apache for the actual config of the distributed version.

Similar Messages

  • The Web Agent for Apache not working

    Any chances to put the last version of Web Agent (im8154) working with Apache in Linux?
    I4m using a Red Hat 6.2 system with Apache 1.3.12 and I compile the web agent without errors. In the some box I use php40 with Apache and I connect and use my Oracle database in another machine without problem.
    All the enviroment is set (ORACLE_HOME, LD_LIBRARY_PATH, PATH) and I even put the Apache user running as oracle.dba
    The problem is always the some: the Apache don4t find any page (404 in the log) in the /intermedia path. It4s seems that dont fire the web agent module that is compiled (I confirm with httpd -l) into. I can put anything in the httpd.conf in the Intermedia Location section that the symtom is the same: no errors, no logs in ORACLE_HOME/ord/web/log or in the /tmp, nothing at all. Just "Page not Found". But the others Location sections are working like the server-status.
    Any ideias people?
    Fernando Soares

    Any chances to put the last version of Web Agent (im8154) working with Apache in Linux?
    I4m using a Red Hat 6.2 system with Apache 1.3.12 and I compile the web agent without errors. In the some box I use php40 with Apache and I connect and use my Oracle database in another machine without problem.
    All the enviroment is set (ORACLE_HOME, LD_LIBRARY_PATH, PATH) and I even put the Apache user running as oracle.dba
    The problem is always the some: the Apache don4t find any page (404 in the log) in the /intermedia path. It4s seems that dont fire the web agent module that is compiled (I confirm with httpd -l) into. I can put anything in the httpd.conf in the Intermedia Location section that the symtom is the same: no errors, no logs in ORACLE_HOME/ord/web/log or in the /tmp, nothing at all. Just "Page not Found". But the others Location sections are working like the server-status.
    Any ideias people?
    Fernando Soares

  • Save for web not working in Photoshop element 6

    Save for web not working in Photoshop element 6. I am using Mac os x version 10.5.8   Anyone know how to fix that please tell me. Thanks

    I just copy the preferences from my computer for you to see what are shown about adobe
    file:///Users/raymondsmith/Library/Preferences/Adobe/
    file:///Users/raymondsmith/Library/Preferences/Adobe%20Illustrator%20CS2%20Settings/
    file:///Users/raymondsmith/Library/Preferences/Adobe%20Photoshop%20CS2%20Paths
    file:///Users/raymondsmith/Library/Preferences/Adobe%20Photoshop%20CS2%20Settings/
    file:///Users/raymondsmith/Library/Preferences/Adobe%20Photoshop%20Elements%206%20Paths
    file:///Users/raymondsmith/Library/Preferences/Adobe%20Photoshop%20Elements%206%20Settings /
    file:///Users/raymondsmith/Library/Preferences/AdobeUM/
    file:///Users/raymondsmith/Library/Preferences/AppleWorks/
    file:///Users/raymondsmith/Library/Preferences/ByHost/
    file:///Users/raymondsmith/Library/Preferences/CD%20Info.cidb
    file:///Users/raymondsmith/Library/Preferences/CDDB%20Preferences
    file:///Users/raymondsmith/Library/Preferences/cfx%23FBSxPfw
    file:///Users/raymondsmith/Library/Preferences/com.adobe.acrobat.90.sh.plist
    file:///Users/raymondsmith/Library/Preferences/com.adobe.Acrobat.Pro7.0.plist
    file:///Users/raymondsmith/Library/Preferences/com.adobe.acrobat.sh.plist
    file:///Users/raymondsmith/Library/Preferences/com.adobe.Acrobat.Uninstaller.plist
    file:///Users/raymondsmith/Library/Preferences/com.adobe.Adobe%20Help%20Viewer.plist
    file:///Users/raymondsmith/Library/Preferences/com.adobe.ami.installer.plist
    file:///Users/raymondsmith/Library/Preferences/com.adobe.bridge2.plist
    file:///Users/raymondsmith/Library/Preferences/com.adobe.mediabrowser.plist
    file:///Users/raymondsmith/Library/Preferences/com.adobe.PhotoshopElements.plist
    file:///Users/raymondsmith/Library/Preferences/com.adobe.Reader_ppc_9.0.plist
    file:///Users/raymondsmith/Library/Preferences/com.adobe.Reader.plist
    file:///Users/raymondsmith/Library/Preferences/com.aol.aim.plist

  • I have the Native AMP stack installed but apache not working

    i have the Native AMP stack installed but apache not working is there a way to reset apache manafaacture settings

    The following line tells me that this is not a template file, but a document created from a template called index.dwt
    <html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/index.dwt" codeOutsideHTMLIsLocked="false" -->
    This means that you saved a child document as a template file at some stage.
    If you go to Modify->Templates->Detach from Template, you can remove the template structure from your document. All you then need to do is to re-save the document as a template.

  • [svn:fx-trunk] 13257: Fix for @inheritDoc not working on a setter, but works on a getter

    Revision: 13257
    Revision: 13257
    Author:   [email protected]
    Date:     2010-01-04 10:49:13 -0800 (Mon, 04 Jan 2010)
    Log Message:
    Fix for @inheritDoc not working on a setter, but works on a getter
    QE notes: None.
    Doc notes: None
    Bugs: SDK-24727
    Reviewed By: Paul
    Tests run: checkintests
    Is noteworthy for integration: No
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-24727
    Modified Paths:
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/ClassTable.java

    steabert wrote:
    Hi,
    I had a similar problem with my Dell Latitude E4310, and apparently also the E6410, E6510.
    The solution for me was to add the following line to /etc/modprobe.d/modprobe.conf:
    options snd-hda-intel model=dell-s14
    I tried that, unfortunately it does not work with this chipset. I do get a different set of channels though but it still cannot record anything. Maybe this chipset is too "new" for alsa. The latest release dates back from the end of January. Support for it is explicitly stated in the changelog to 1.0.24 but perhaps the recording part of it slipped through the cracks. ALSA bug tracking system seems quite closed.

  • Logging for AS not working

    Hi,
    In sm21, I cannot see any logs from the AS. I can only see the ones from CI.
    Any ideas how to solve this issue ?
    Anything is welcomed,
    Thanks.

    Hello
    This thread was locked for the following reasons:
    1) the topic does not relate to PI. This forum is for PI technical issues only.
    2) it is against forum rules to post the same issue on multiple forums - Re: Logging for AS not working
    Regards
    Moderator

  • ICloud for pc not working tried everything

    iCloud for pc not working tried everything ( uninstall - reinstall - delete files - old versions ) nothing helps it just downloads a couple of photos and off again my iPhone uploads perfectly as all the pics goes to the iPad seamlessly, Please Help i'm on windows 8.1 x64, Thanks

    I think that the card reader may in fact be defective, but it just doesn't make sense if I have already used it fine before. I've tried everything on this Apple support page, thank you though.
    Does anyone have any suggestions?

  • Skype 6.3 upgrade for Mac not working

    [Topic title updated by moderator to be more descriptive. Original topic title was: "Skype upgrade for Mac not working"]
    BE WARNED - just because you are being asked to upgrade your Skype, it does not mean it will work on your machine. I am a fairly regular user of Skype and this morning was unable to log-in, being told that I needed to upgrade. I did so to 6.3.0.602 but I was unable to log-in once the software had downloaded. After some research on the forums and finally a text chat with Support, I was told that Skype 6.3.0.602 requires a Mac OSX of 10.9 or above - I have 10.5.8
    "So what can I do", I asked the tech support. The answer is nothing (unless I get new OS X software) - there is no Skype software programme that supports my operating system and no timeframe for when it might be available.
    Huh? That's right. It's just not available. So for now, users with less than OS X 10.9 will be unable to use Skype when they are instructed to upgrade. It really doesn't make sense. But just so you know....

    jessicaed wrote:
    BE WARNED - just because you are being asked to upgrade your Skype, it does not mean it will work on your machine. I am a fairly regular user of Skype and this morning was unable to log-in, being told that I needed to upgrade. I did so to 6.3.0.602 but I was unable to log-in once the software had downloaded. After some research on the forums and finally a text chat with Support, I was told that Skype 6.3.0.602 requires a Mac OSX of 10.9 or above - I have 10.5.8
    "So what can I do", I asked the tech support. The answer is nothing (unless I get new OS X software) - there is no Skype software programme that supports my operating system and no timeframe for when it might be available.
    Huh? That's right. It's just not available. So for now, users with less than OS X 10.9 will be unable to use Skype when they are instructed to upgrade. It really doesn't make sense. But just so you know....
    Please look at the top of the community page, and you will find a box "Search:". Write your problem here "Upgrade not working" and see what crops up. Most likely you will be taken somewher like here: http://community.skype.com/t5/Mac/quot-We-ve-signed-you-out-because-your-using-an-outdated-version/m...  
    Here you will read that the latest versions of Skype will not work on some of the versions of MacOS, and that PPC requires one version, Leopard another, Snow leopard another, Mountain Lion another. They are indoctrinated with a stamp in their forehead to enforce their congregation of true believers to install the latest with all "security fixes" or death is looming. They are not used to software that is 2 years old. 
    So, with Mac, we have different operating systems and different sets of libraries - and things may go belly up if you upgrade - a OS feature is done differently, a libary has been placed inside the OS, and is no longer needed - and if you try to use it, you will be trapped.
    Install the latest version that works for your Mac, and make sure to freeze this. Update the "info.plist" file and tell Skype that you use their latest should they pry. As long as it works, do not change anything!
    And make the change to stop Skype from checking every time you start.

  • Default them for Mac not working firefox 4 beta 1

    Default them for Mac not working Firefox 4 beta 1
    == This happened ==
    Every time Firefox opened
    == I first opend FF4 beta 1 for the first time

    '''Ritrup''':
    Create a new profile as a test to check if your current profile is causing the problems
    See [[Basic Troubleshooting#Make_a_new_profile|Basic Troubleshooting&#58; Make a new profile]]
    There may be extensions and plugins installed by default in a new profile, so check that in "Tools > Add-ons > Extensions & Plugins"
    If that new profile works then you can transfer some files from the old profile to that new profile (be careful not to copy corrupted files)
    See http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox

  • Oracle & PHP/Apache not working togather for unicode (working individually)

    hi, i have oracle xe zend core for oracle installed.
    When i insert data through aplication express or oracle sql developer its perfect. Unicode can be inserted and viewed, but when I try to view same data through php script it display ??? signs only english character show properly.
    Seems the unicode enviourment issue with php/apache and oracle communication, as php pages display uniode correctly when not taking data from oracle. I need help
    I have gone through globlizing_oracle_php_applications.pdf and have enabled mbstring, also php charset is utf8 i also used 'AL32UTF8' in connection string.
    Also if someone can provide a small sample php script to insert or view unicode data.
    thanks

    root the php module seems to be not working as the
    displayed index.php was just text page. I tried with
    apache2 as well but the result was the same.I don't believe the apache included with Solaris 10 includes PHP support; you will probably have to re-compile it . See the README file in /etc/apache for the actual config of the distributed version.

  • Apache not working

    Hi,
    I am new to this forum. I bought Mac book pro few months back. I am working on a project that involves Jboss. Whenever I start Apache and type "http://localhost/" on the browser, the result is "It works!".(But when I hit refresh, it says "Safari can’t open the page “http://localhost/” because Safari can’t connect to the server “localhost”."). There are no "httpd" process running in the Activity Monitor.
    I tried to configure, still the same issue. I checked and none of the other services is listening to the same port:80. I have posted the complete content of httpd.conf file in the"/etc/apache2".(I apologize for the long thread)
    1. This is the main Apache HTTP server configuration file. It contains the
    2. configuration directives that give the server its instructions.
    3. See <URL:<a class="jive-link-external-small" href="http://">http://httpd.apache.org/docs/2.2> for detailed information.
    4. In particular, see
    5. <URL:<a class="jive-link-external-small" href="http://">http://httpd.apache.org/docs/2.2/mod/directives.html>
    6. for a discussion of each configuration directive.
    1. Do NOT simply read the instructions in here without understanding
    2. what they do. They're here only as hints or reminders. If you are unsure
    3. consult the online docs. You have been warned.
    1. Configuration and logfile names: If the filenames you specify for many
    2. of the server's control files begin with "/" (or "drive:/" for Win32), the
    3. server will use that explicit path. If the filenames do not begin
    4. with "/", the value of ServerRoot is prepended -- so "/private/var/log/apache2/foo_log"
    5. with ServerRoot set to "/usr" will be interpreted by the
    6. server as "/usr//private/var/log/apache2/foo_log".
    1. ServerRoot: The top of the directory tree under which the server's
    2. configuration, error, and log files are kept.
    1. Do not add a slash at the end of the directory path. If you point
    2. ServerRoot at a non-local disk, be sure to point the LockFile directive
    3. at a local disk. If you wish to share the same ServerRoot for multiple
    4. httpd daemons, you will need to change at least LockFile and PidFile.
    ServerRoot "/usr"
    1. Listen: Allows you to bind Apache to specific IP addresses and/or
    2. ports, instead of the default. See also the <VirtualHost>
    3. directive.
    1. Change this to Listen on specific IP addresses as shown below to
    2. prevent Apache from glomming onto all bound IP addresses.
    #Listen 12.34.56.78:80
    #Listen 80
    1. Dynamic Shared Object (DSO) Support
    1. To be able to use the functionality of a module which was built as a DSO you
    2. have to place corresponding `LoadModule' lines at this location so the
    3. directives contained in it are actually available before they are used.
    4. Statically compiled modules (those listed by `httpd -l') do not need
    1. Example:
    2. LoadModule foo_module modules/mod_foo.so
    LoadModule authnfilemodule libexec/apache2/modauthnfile.so
    LoadModule authndbmmodule libexec/apache2/modauthndbm.so
    LoadModule authnanonmodule libexec/apache2/modauthnanon.so
    LoadModule authndbdmodule libexec/apache2/modauthndbd.so
    LoadModule authndefaultmodule libexec/apache2/modauthndefault.so
    LoadModule authzhostmodule libexec/apache2/modauthzhost.so
    LoadModule authzgroupfilemodule libexec/apache2/modauthzgroupfile.so
    LoadModule authzusermodule libexec/apache2/modauthzuser.so
    LoadModule authzdbmmodule libexec/apache2/modauthzdbm.so
    LoadModule authzownermodule libexec/apache2/modauthzowner.so
    LoadModule authzdefaultmodule libexec/apache2/modauthzdefault.so
    LoadModule authbasicmodule libexec/apache2/modauthbasic.so
    LoadModule authdigestmodule libexec/apache2/modauthdigest.so
    LoadModule cache_module libexec/apache2/mod_cache.so
    LoadModule diskcachemodule libexec/apache2/moddiskcache.so
    LoadModule memcachemodule libexec/apache2/modmemcache.so
    LoadModule dbd_module libexec/apache2/mod_dbd.so
    LoadModule dumpio_module libexec/apache2/mod_dumpio.so
    LoadModule extfiltermodule libexec/apache2/modextfilter.so
    LoadModule include_module libexec/apache2/mod_include.so
    LoadModule filter_module libexec/apache2/mod_filter.so
    LoadModule substitute_module libexec/apache2/mod_substitute.so
    LoadModule deflate_module libexec/apache2/mod_deflate.so
    LoadModule logconfigmodule libexec/apache2/modlogconfig.so
    LoadModule logforensicmodule libexec/apache2/modlogforensic.so
    LoadModule logio_module libexec/apache2/mod_logio.so
    LoadModule env_module libexec/apache2/mod_env.so
    LoadModule mimemagicmodule libexec/apache2/modmimemagic.so
    LoadModule cernmetamodule libexec/apache2/modcernmeta.so
    LoadModule expires_module libexec/apache2/mod_expires.so
    LoadModule headers_module libexec/apache2/mod_headers.so
    LoadModule ident_module libexec/apache2/mod_ident.so
    LoadModule usertrack_module libexec/apache2/mod_usertrack.so
    #LoadModule uniqueidmodule libexec/apache2/moduniqueid.so
    LoadModule setenvif_module libexec/apache2/mod_setenvif.so
    LoadModule version_module libexec/apache2/mod_version.so
    LoadModule proxy_module libexec/apache2/mod_proxy.so
    LoadModule proxyconnectmodule libexec/apache2/modproxyconnect.so
    LoadModule proxyftpmodule libexec/apache2/modproxyftp.so
    LoadModule proxyhttpmodule libexec/apache2/modproxyhttp.so
    LoadModule proxyscgimodule libexec/apache2/modproxyscgi.so
    LoadModule proxyajpmodule libexec/apache2/modproxyajp.so
    LoadModule proxybalancermodule libexec/apache2/modproxybalancer.so
    LoadModule ssl_module libexec/apache2/mod_ssl.so
    LoadModule mime_module libexec/apache2/mod_mime.so
    LoadModule dav_module libexec/apache2/mod_dav.so
    LoadModule status_module libexec/apache2/mod_status.so
    LoadModule autoindex_module libexec/apache2/mod_autoindex.so
    LoadModule asis_module libexec/apache2/mod_asis.so
    LoadModule info_module libexec/apache2/mod_info.so
    LoadModule cgi_module libexec/apache2/mod_cgi.so
    LoadModule davfsmodule libexec/apache2/moddavfs.so
    LoadModule vhostaliasmodule libexec/apache2/modvhostalias.so
    LoadModule negotiation_module libexec/apache2/mod_negotiation.so
    LoadModule dir_module libexec/apache2/mod_dir.so
    LoadModule imagemap_module libexec/apache2/mod_imagemap.so
    LoadModule actions_module libexec/apache2/mod_actions.so
    LoadModule speling_module libexec/apache2/mod_speling.so
    LoadModule userdir_module libexec/apache2/mod_userdir.so
    LoadModule alias_module libexec/apache2/mod_alias.so
    LoadModule rewrite_module libexec/apache2/mod_rewrite.so
    LoadModule bonjour_module libexec/apache2/mod_bonjour.so
    #LoadModule php5_module libexec/apache2/libphp5.so
    #LoadModule fastcgi_module libexec/apache2/mod_fastcgi.so
    <IfModule !mpmnetwaremodule>
    <IfModule !mpmwinntmodule>
    1. If you wish httpd to run as a different user or group, you must run
    2. httpd as root initially and it will switch.
    1. User/Group: The name (or #number) of the user/group to run httpd as.
    2. It is usually good practice to create a dedicated user and group for
    3. running httpd, as with most system services.
    User _www
    Group _www
    </IfModule>
    </IfModule>
    1. 'Main' server configuration
    1. The directives in this section set up the values used by the 'main'
    2. server, which responds to any requests that aren't handled by a
    3. <VirtualHost> definition. These values also provide defaults for
    4. any <VirtualHost> containers you may define later in the file.
    1. All of these directives may appear inside <VirtualHost> containers,
    2. in which case these default settings will be overridden for the
    3. virtual host being defined.
    1. ServerAdmin: Your address, where problems with the server should be
    2. e-mailed. This address appears on some server-generated pages, such
    3. as error documents. e.g. [email protected]
    ServerAdmin [email protected]
    1. ServerName gives the name and port that the server uses to identify itself.
    2. This can often be determined automatically, but we recommend you specify
    3. it explicitly to prevent problems during startup.
    1. If your host doesn't have a registered DNS name, enter its IP address here.
    #ServerName www.example.com:80
    1. DocumentRoot: The directory out of which you will serve your
    2. documents. By default, all requests are taken from this directory, but
    3. symbolic links and aliases may be used to point to other locations.
    DocumentRoot "/Library/WebServer/Documents"
    1. Each directory to which Apache has access can be configured with respect
    2. to which services and features are allowed and/or disabled in that
    3. directory (and its subdirectories).
    1. First, we configure the "default" to be a very restrictive set of
    2. features.
    <Directory />
    Options FollowSymLinks
    AllowOverride None
    Order deny,allow
    Allow from all
    </Directory>
    1. Note that from this point forward you must specifically allow
    2. particular features to be enabled - so if something's not working as
    3. you might expect, make sure that you have specifically enabled it
    4. below.
    1. This should be changed to whatever you set DocumentRoot to.
    <Directory "/Library/WebServer/Documents">
    1. Possible values for the Options directive are "None", "All",
    2. or any combination of:
    3. Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
    1. Note that "MultiViews" must be named explicitly --- "Options All"
    2. doesn't give it to you.
    1. The Options directive is both complicated and important. Please see
    2. http://httpd.apache.org/docs/2.2/mod/core.html#options
    3. for more information.
    Options Indexes FollowSymLinks MultiViews
    1. AllowOverride controls what directives may be placed in .htaccess files.
    2. It can be "All", "None", or any combination of the keywords:
    3. Options FileInfo AuthConfig Limit
    AllowOverride None
    1. Controls who can get stuff from this server.
    Order allow,deny
    Allow from all
    </Directory>
    1. DirectoryIndex: sets the file that Apache will serve if a directory
    2. is requested.
    <IfModule dir_module>
    DirectoryIndex index.php index.html
    </IfModule>
    1. The following lines prevent .htaccess and .htpasswd files from being
    2. viewed by Web clients.
    <FilesMatch "^\.(HhTt|DdSs_Ss)">
    Order allow,deny
    Deny from all
    Satisfy All
    </FilesMatch>
    1. Apple specific filesystem protection.
    <Files "rsrc">
    Order allow,deny
    Deny from all
    Satisfy All
    </Files>
    <DirectoryMatch ".*\.\.namedfork">
    Order allow,deny
    Deny from all
    Satisfy All
    </DirectoryMatch>
    1. ErrorLog: The location of the error log file.
    2. If you do not specify an ErrorLog directive within a <VirtualHost>
    3. container, error messages relating to that virtual host will be
    4. logged here. If you do define an error logfile for a <VirtualHost>
    5. container, that host's errors will be logged there and not here.
    ErrorLog "/private/var/log/apache2/error_log"
    1. LogLevel: Control the number of messages logged to the error_log.
    2. Possible values include: debug, info, notice, warn, error, crit,
    3. alert, emerg.
    LogLevel warn
    <IfModule logconfigmodule>
    1. The following directives define some format nicknames for use with
    2. a CustomLog directive (see below).
    LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
    LogFormat "%h %l %u %t \"%r\" %>s %b" common
    <IfModule logio_module>
    1. You need to enable mod_logio.c to use %I and %O
    LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio
    </IfModule>
    1. The location and format of the access logfile (Common Logfile Format).
    2. If you do not define any access logfiles within a <VirtualHost>
    1. container, they will be logged here. Contrariwise, if you do
    2. define per-<VirtualHost> access logfiles, transactions will be
    3. logged therein and not in this file.
    CustomLog "/private/var/log/apache2/access_log" common
    1. If you prefer a logfile with access, agent, and referer information
    2. (Combined Logfile Format) you can use the following directive.
    #CustomLog "/private/var/log/apache2/access_log" combined
    </IfModule>
    <IfModule alias_module>
    1. Redirect: Allows you to tell clients about documents that used to
    2. exist in your server's namespace, but do not anymore. The client
    3. will make a new request for the document at its new location.
    4. Example:
    5. Redirect permanent /foo http://www.example.com/bar
    1. Alias: Maps web paths into filesystem paths and is used to
    2. access content that does not live under the DocumentRoot.
    3. Example:
    4. Alias /webpath /full/filesystem/path
    1. If you include a trailing / on /webpath then the server will
    2. require it to be present in the URL. You will also likely
    3. need to provide a <Directory> section to allow access to
    4. the filesystem path.
    1. ScriptAlias: This controls which directories contain server scripts.
    2. ScriptAliases are essentially the same as Aliases, except that
    3. documents in the target directory are treated as applications and
    4. run by the server when requested rather than as documents sent to the
    5. client. The same rules about trailing "/" apply to ScriptAlias
    6. directives as to Alias.
    ScriptAliasMatch ^/cgi-bin/((?!(?i:webobjects)).*$) "/Library/WebServer/CGI-Executables/$1"
    </IfModule>
    <IfModule cgid_module>
    1. ScriptSock: On threaded servers, designate the path to the UNIX
    2. socket used to communicate with the CGI daemon of mod_cgid.
    #Scriptsock /private/var/run/cgisock
    </IfModule>
    1. "/Library/WebServer/CGI-Executables" should be changed to whatever your ScriptAliased
    2. CGI directory exists, if you have that configured.
    <Directory "/Library/WebServer/CGI-Executables">
    AllowOverride None
    Options None
    Order allow,deny
    Allow from all
    </Directory>
    1. DefaultType: the default MIME type the server will use for a document
    2. if it cannot otherwise determine one, such as from filename extensions.
    3. If your server contains mostly text or HTML documents, "text/plain" is
    4. a good value. If most of your content is binary, such as applications
    5. or images, you may want to use "application/octet-stream" instead to
    6. keep browsers from trying to display binary files as though they are
    7. text.
    DefaultType text/plain
    <IfModule mime_module>
    1. TypesConfig points to the file containing the list of mappings from
    2. filename extension to MIME-type.
    TypesConfig /private/etc/apache2/mime.types
    1. AddType allows you to add to or override the MIME configuration
    2. file specified in TypesConfig for specific file types.
    #AddType application/x-gzip .tgz
    1. AddEncoding allows you to have certain browsers uncompress
    2. information on the fly. Note: Not all browsers support this.
    #AddEncoding x-compress .Z
    #AddEncoding x-gzip .gz .tgz
    1. If the AddEncoding directives above are commented-out, then you
    2. probably should define those extensions to indicate media types:
    AddType application/x-compress .Z
    AddType application/x-gzip .gz .tgz
    1. AddHandler allows you to map certain file extensions to "handlers":
    2. actions unrelated to filetype. These can be either built into the server
    3. or added with the Action directive (see below)
    1. To use CGI scripts outside of ScriptAliased directories:
    2. (You will also need to add "ExecCGI" to the "Options" directive.)
    #AddHandler cgi-script .cgi
    1. For type maps (negotiated resources):
    #AddHandler type-map var
    1. Filters allow you to process content before it is sent to the client.
    1. To parse .shtml files for server-side includes (SSI):
    2. (You will also need to add "Includes" to the "Options" directive.)
    #AddType text/html .shtml
    #AddOutputFilter INCLUDES .shtml
    </IfModule>
    1. The modmimemagic module allows the server to use various hints from the
    2. contents of the file itself to determine its type. The MIMEMagicFile
    3. directive tells the module where the hint definitions are located.
    #MIMEMagicFile /private/etc/apache2/magic
    1. Customizable error responses come in three flavors:
    2. 1) plain text 2) local redirects 3) external redirects
    1. Some examples:
    #ErrorDocument 500 "The server made a boo boo."
    #ErrorDocument 404 /missing.html
    #ErrorDocument 404 "/cgi-bin/missing_handler.pl"
    #ErrorDocument 402 http://www.example.com/subscription_info.html
    1. EnableMMAP and EnableSendfile: On systems that support it,
    2. memory-mapping or the sendfile syscall is used to deliver
    3. files. This usually improves server performance, but must
    1. be turned off when serving from networked-mounted
    2. filesystems or if support for these functions is otherwise
    3. broken on your system.
    #EnableMMAP off
    #EnableSendfile off
    1. 6894961
    TraceEnable off
    1. Supplemental configuration
    1. The configuration files in the /private/etc/apache2/extra/ directory can be
    2. included to add extra features or to modify the default configuration of
    3. the server, or you may simply copy their contents here and change as
    4. necessary.
    1. Server-pool management (MPM specific)
    Include /private/etc/apache2/extra/httpd-mpm.conf
    1. Multi-language error messages
    #Include /private/etc/apache2/extra/httpd-multilang-errordoc.conf
    1. Fancy directory listings
    Include /private/etc/apache2/extra/httpd-autoindex.conf
    1. Language settings
    Include /private/etc/apache2/extra/httpd-languages.conf
    1. User home directories
    Include /private/etc/apache2/extra/httpd-userdir.conf
    1. Real-time info on requests and configuration
    #Include /private/etc/apache2/extra/httpd-info.conf
    1. Virtual hosts
    Include /private/etc/apache2/extra/httpd-vhosts.conf
    1. Local access to the Apache HTTP Server Manual
    Include /private/etc/apache2/extra/httpd-manual.conf
    1. Distributed authoring and versioning (WebDAV)
    #Include /private/etc/apache2/extra/httpd-dav.conf
    1. Various default settings
    #Include /private/etc/apache2/extra/httpd-default.conf
    1. Secure (SSL/TLS) connections
    #Include /private/etc/apache2/extra/httpd-ssl.conf
    1. Note: The following must must be present to support
    2. starting without SSL on platforms with no /dev/random equivalent
    3. but a statically compiled-in mod_ssl.
    <IfModule ssl_module>
    SSLRandomSeed startup builtin
    SSLRandomSeed connect builtin
    </IfModule>
    Include /private/etc/apache2/other/*.conf
    Also, this is the error when i run configtest :
    sgiri:~ sgiri$ /usr/sbin/apachectl configtest
    Warning: DocumentRoot [/usr/docs/dummy-host.example.com] does not exist
    Warning: DocumentRoot [/usr/docs/dummy-host2.example.com] does not exist
    Syntax OK
    Please help me.
    Thanks in advance.

    Thanks Camelot.
    This is the error_log:
    [Thu Sep 16 09:16:42 2010] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
    [Thu Sep 16 09:16:42 2010] [notice] Digest: generating secret for digest authentication ...
    [Thu Sep 16 09:16:42 2010] [notice] Digest: done
    [Thu Sep 16 09:16:42 2010] [notice] Apache/2.2.14 (Unix) mod_ssl/2.2.14 OpenSSL/0.9.8l DAV/2 configured -- resuming normal operations
    [Thu Sep 16 14:44:29 2010] [notice] caught SIGTERM, shutting down
    [Thu Sep 16 16:36:01 2010] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
    httpd: aprsockaddr_infoget() failed for Sagar-Giris-MacBook-Pro.local
    httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
    [Thu Sep 16 16:36:02 2010] [notice] Digest: generating secret for digest authentication ...
    [Thu Sep 16 16:36:02 2010] [notice] Digest: done
    [Thu Sep 16 16:36:02 2010] [notice] Apache/2.2.14 (Unix) mod_ssl/2.2.14 OpenSSL/0.9.8l DAV/2 configured -- resuming normal operations
    [Thu Sep 16 20:31:24 2010] [notice] caught SIGTERM, shutting down
    [Fri Sep 17 00:38:18 2010] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
    httpd: Could not reliably determine the server's fully qualified domain name, using ::1 for ServerName
    "error_log" [readonly] 1325L, 170941C
    This is the error in access_log:
    )VwDiI300-_parent_is_not_the_page_we_want_to_write_into_-_different_domain,_exception=Err or:Permission_denied_for%3Chttp://cats.about.com%3E_(document.domain=%3Chttp://cats.about.com%3E)to_get_property_Location.hostname_from%3Chttp://ad.doubleclick.net%3E_(document.domainhas_not_beenset). HTTP/1.1" 404 205
    "access_log" [readonly] 150L, 17809C

  • Web sharing/Apache not working

    My web sharing doesn't seem to be working.
    When I have it enabled in the Sharing panel of the System Preferences, I try to click on the link
    My Computer's Website
    http://myIPaddress
    I get an error message, in both Safari and Firefox, saying that I cannot make a connection to the server. This is similar to other threads in this section except for the following:
    - I do have a /var/log/apache2 directory
    - I did a chmod 755 on the directory
    - the directory is empty
    - http://localhost does not work
    when I look through a list of my tasks (on the Activity Monitor), I don't see anything related to apache so I'm wondering if my Web Sharing has not initiated the apache server.
    I'm running 10.5.6 on a PowerBook G4.
    Thanks in Advance

    You shouldn't see any apache items in Activity Monitor. I've got web sharing on, and I see a bunch of httpd processes in Activity Monitor. Try repairing permissions on your hard drive. Also, look for some config files located in /etc/apache2/. I see the following files/folders in there on my machine:
    drwxr-xr-x 13 root wheel 442 Nov 24 2007 extra
    -rw-r--r-- 1 root wheel 17684 Jan 27 07:21 httpd.conf
    -rw-r--r-- 1 root wheel 12958 Nov 24 2007 magic
    -rw-r--r-- 1 root wheel 28782 Nov 24 2007 mime.types
    drwxr-xr-x 4 root wheel 136 Aug 13 2008 original
    drwxr-xr-x 4 root wheel 136 Nov 24 2007 other
    drwxr-xr-x 3 root wheel 102 Aug 13 2008 users

  • Apache not working  with FMS 4.5 on Windows 2008

    FMS 4.5.1 Windows 2008 SP2 (64bit).
    I've searched everywhere for a possible solution to this, so my apologies if this has been asked before and my thanks for any potential help that anyone can offer to help resolve this.
    We are deploying Adobe Flash Media Server 4.5.1 on a new server but Apache does not work (does not serve html files or stream Quicktime H.264 files).
          Assorted Problems & Error messages:
    1.  The webroot/index.html page loads locally, but the HLS/HDS streams result in a 2032 error.
    2. The webroot/index.html page does not load from  external locations:
         http://63.116.232.5/index.html (does not load externally).
         http://63.116.232.6/index.html (our old server, FMS 4.0 and Windows 2003). Everything on this server works, the 2 major differences being that it is running FMS 4.x on Windows 2003.
    Some RTMP streaming works externally and internally (f4v files):
    http://www.librarymedia.net/flash/player.html?source=rtmp://63.116.232.5/vod/mp4:sample1_1 50kbps.f4v
    FMS does not stream Quicktime H.264 files even though f4v files work.
       New server (does not work): http://www.librarymedia.net/flash/player.html?source=rtmp://63.116.232.5/vod/mp4:Basketbal l.mov
                                  (f4v works): http://www.librarymedia.net/flash/player.html?source=rtmp://63.116.232.5/vod/mp4:sample1_1 50kbps.f4v
    Old server (Quicktime/H.264 file works): http://www.librarymedia.net/flash/player.html?source=rtmp://63.116.232.6/vod/mp4:Basketbal l.mov
    Apache does not serve Quicktime/H.264 files: I made sure that Apache had all of the correct mime types specified.
        Error messages and attempted solutions:
    Apache's erro_log file:
           a. httpd.exe: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
    2. FMS master.log file
          a. FMSHttpd -k start returned 1:
    Solutions: http://wiki.apache.org/httpd/CouldNotDetermineServerName
    1a:  Edited httpd.conf file to include ServerName 63.116.232.5
    1b: The presence of this error message also indicates that Apache httpd was unable to obtain a fully-qualified hostname by doing a reverse lookup on your server's IP address.
    In order for the server to accept external connections a reverse DNS lookup needs to be created. I created a reverse DNS lookup and  edited the /etc/hosts file to include the IPaddress, Fully Qualified Domain Name (FQDN), shortname.
    This is the format suggested by the article:
    127.0.0.1       localhost.localdomain   localhost       foo.example.com
    Running the nbtstat -a 63.116.232.5 command on the machine results in the following:
    WIN-8AIHI2J0524<00>  UNIQUE      Registered
    THS-LIBRARY-VOD<00>  GROUP       Registered
    THS-LIBRARY-VOD<1C>  GROUP       Registered
    WIN-8AIHI2J0524<20>  UNIQUE      Registered
    THS-LIBRARY-VOD<1B>  UNIQUE      Registered
    So the FQDN = WIN-8AIHI2J0524.Ths-library-vod.local
    I edited the /etc/hosts to the following (with versions using the local host ip 127.0.0.1 and the external ip address, IPv4 is being used):
    63.116.232.5 WIN-8AIHI2J0524.Ths-library-vod.local
    # The following lines are desirable for IPv6 capable hosts
    ::1 localhost ip6-localhost ip6-loopback
    fe00::0 ip6-localnet
    ff00::0 ip6-mcastprefix
    ff02::1 ip6-allnodes
    ff02::2 ip6-allrouters
    ff02::3 ip6-allhosts
    I've also read Adobe's port configuration articles and  changed the ports that Apache and FMS use as specified in the conf/fms.ini file, but nothing has worked so far. I restored everything to the original settings until I can find out exactly how to fix this.
    Thank you.

    Ms. Apurva ,
    I changed the files back as you suggested (the failure was occuring with the default settings) and our admin assured me yesterday that the ports that I inquired about were open. I'll ask him again.
    The telenet command for both ports 80 and 1935 result in Connect failed for me. I'll check Windows Firewall (turned off)  and McAfee to see if there is anything there blocking ports.
    Confirm that external connections are blocked: 63.116.232.5/index.html (does not open outside of localhost). No problem accessing with our old server (63.116.232.6/index.html).
    I ran this command in nmap and here are the results (11 ports closed): nmap 63.116.232.5 -Pn80
    Starting Nmap 6.01 ( http://nmap.org ) at 2012-07-06 08:29 Eastern Standard Time
    Nmap scan report for 63.116.232.5
    Host is up (0.00092s latency). nmap -p 80 says that the host is down (for both ports).
    Not shown: 988 filtered ports
    PORT     STATE  SERVICE
    1720/tcp open   H.323/Q.931
    6000/tcp closed X11
    6001/tcp closed X11:1
    6002/tcp closed X11:2
    6003/tcp closed X11:3
    6004/tcp closed X11:4
    6005/tcp closed X11:5
    6006/tcp closed X11:6
    6007/tcp closed X11:7
    6009/tcp closed X11:9
    6025/tcp closed x11
    6059/tcp closed X11:59
    Nmap done: 1 IP address (1 host up) scanned in 5.72 seconds
    Host status: up
    open ports: 1
    filtered ports:988
    Closed ports:  11
    ipv4:63.116.232.5
    ipv6: not available
    MAC: not available.
    Master log file:
    2012-07-06
    09:22:41
    6712
    (i)2581173
    FMS config <NetworkingIPv6 enable=false>
    2012-07-06
    09:22:41
    6712
    (i)2581173
    FMS running in IPv4 protocol stack mode!
    2012-07-06
    09:22:41
    6712
    (i)2581173
    Host: WIN-8AIHI2J0524 IPv4: 10.250.10.1
    2012-07-06
    09:22:41
    6712
    (i)2571011
    Server starting...
    2012-07-06
    09:22:46
    6712
    (i)2581413
    H:\Program Files\Adobe\Flash Media Server 4.5\Apache2.2\bin\httpd -f ./conf/httpd.conf -d "H:\Program Files\Adobe\Flash Media Server 4.5\Apache2.2" -n FMSHttpd -k start returned 0:
    2012-07-06
    09:22:46
    6712
    (i)2581224
    Edge (1508) started, arguments : -edgeports ":1935" -coreports "localhost:19350" -conf "H:\Program Files\Adobe\Flash Media Server 4.5\conf\server.xml" -adaptor "_defaultRoot_" -name "_defaultRoot__edge1" -edgename "edge1".
    2012-07-06
    09:22:46
    6712
    (i)2571111
    Server started (H:\Program Files\Adobe\Flash Media Server 4.5\conf\server.xml).
    edge log:
    2012-07-06
    09:22:46
    1508
    (i)2581173
    FMS detected IPv6 protocol stack!
    2012-07-06
    09:22:46
    1508
    (i)2581173
    FMS config <NetworkingIPv6 enable=false>
    2012-07-06
    09:22:46
    1508
    (i)2581173
    FMS running in IPv4 protocol stack mode!
    2012-07-06
    09:22:46
    1508
    (i)2581173
    Host: WIN-8AIHI2J0524 IPv4: 10.250.10.1
    2012-07-06
    09:22:47
    1508
    (i)2631174
    Listener started ( _defaultRoot__edge1 ) : localhost:19350/v4
    2012-07-06
    09:22:48
    1508
    (i)2631174
    Listener started ( _defaultRoot__edge1 ) : 1935/v4
    2012-07-06
    09:22:49
    1508
    (i)2631174
    Listener started ( _defaultRoot__edge1 ) : 10.250.10.1:19350 (rtmfp-core)/v4
    2012-07-06
    09:22:49
    1508
    (i)2631174
    Listener started ( _defaultRoot__edge1 ) : 127.0.0.1:19350 (rtmfp-core)/v4
    2012-07-06
    09:22:49
    1508
    (i)2631509
    Public rtmfp-core addresses for listener _defaultRoot__edge1 are: 10.250.10.1:19350;127.0.0.1:19350
    2012-07-06
    09:22:49
    1508
    (i)2631174
    Listener started ( _defaultRoot__edge1 ) : 10.250.10.1:1935 (rtmfp)/v4
    2012-07-06
    09:22:49
    1508
    (i)2631174
    Listener started ( _defaultRoot__edge1 ) : 127.0.0.1:1935 (rtmfp)/v4
    Not sure what to do.
    Thanks.

  • Apache not working after time machine restore

    i had major problems upgrading to 10.5.3. after trying everything and hoping to avoid reverting to a backup, it was apparent i would have to revert. turns out, it was quite easy since i had a recent TM backup. now, i'm back to 10.5.2 fine, but for what ever reason i cannot getweb sharing ... my apache site ... running.
    i've checked to see that all the necessary config files are there and my content is all there and in the system preferences, web sharing is on. but when i go to 192.168.1.11 (which happens to be the internal IP address for this machine), i get nothing.
    not being super apache experienced, i'm lacking the troubleshooting knowledge to figure out why it's not working.
    please advise.
    thanks!!!!

    thanks. yes, currently, i'm back to running 10.5.2.
    here's the contents of org.apache.httpd.plist:
    Davids-Computer:launchdaemons dac$ cat org.apache.httpd.plist
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <dict>
    <key>Label</key>
    <string>org.apache.httpd</string>
    <key>OnDemand</key>
    <false/>
    <key>ProgramArguments</key>
    <array>
    <string>/usr/sbin/httpd</string>
    <string>-D</string>
    <string>FOREGROUND</string>
    </array>
    <key>SHAuthorizationRight</key>
    <string>system.preferences</string>
    </dict>
    </plist>
    Davids-Computer:launchdaemons dac$
    and as far as system.log, there's definitely a problem... it's quite long with the following repeated over and over seemingly non-stop:
    Jun 5 06:15:54 Davids-Computer org.apache.httpd[17922]: (2)No such file or directory: httpd: could not open error log file /private/var/log/apache2/error_log.
    Jun 5 06:15:54 Davids-Computer org.apache.httpd[17922]: Unable to open logs
    Jun 5 06:15:54 Davids-Computer com.apple.launchd[1] (org.apache.httpd[17922]): Exited with exit code: 1
    Jun 5 06:15:54 Davids-Computer com.apple.launchd[1] (org.apache.httpd): Throttling respawn: Will start in 10 seconds
    Jun 5 06:16:02 Davids-Computer com.apple.launchd[1] (com.memeo.WDMemeod[17923]): posix_spawnp("/Library/Application Support/Memeo/WD Anywhere Backup/Daemons/WDMemeod", ...): No such file or directory
    Jun 5 06:16:02 Davids-Computer com.apple.launchd[1] (com.memeo.WDMemeod[17923]): Exited with exit code: 1
    Jun 5 06:16:02 Davids-Computer com.apple.launchd[1] (com.memeo.WDMemeod): Throttling respawn: Will start in 10 seconds
    Jun 5 06:16:04 Davids-Computer org.apache.httpd[17924]: (2)No such file or directory: httpd: could not open error log file /private/var/log/apache2/error_log.
    Jun 5 06:16:04 Davids-Computer org.apache.httpd[17924]: Unable to open logs
    Jun 5 06:16:04 Davids-Computer com.apple.launchd[1] (org.apache.httpd[17924]): Exited with exit code: 1
    Jun 5 06:16:04 Davids-Computer com.apple.launchd[1] (org.apache.httpd): Throttling respawn: Will start in 10 seconds
    Jun 5 06:16:12 Davids-Computer com.apple.launchd[1] (com.memeo.WDMemeod[17926]): posix_spawnp("/Library/Application Support/Memeo/WD Anywhere Backup/Daemons/WDMemeod", ...): No such file or directory
    Jun 5 06:16:12 Davids-Computer com.apple.launchd[1] (com.memeo.WDMemeod[17926]): Exited with exit code: 1
    Jun 5 06:16:12 Davids-Computer com.apple.launchd[1] (com.memeo.WDMemeod): Throttling respawn: Will start in 10 seconds
    Jun 5 06:16:14 Davids-Computer org.apache.httpd[17927]: (2)No such file or directory: httpd: could not open error log file /private/var/log/apache2/error_log.
    Jun 5 06:16:14 Davids-Computer org.apache.httpd[17927]: Unable to open logs
    Jun 5 06:16:14 Davids-Computer com.apple.launchd[1] (org.apache.httpd[17927]): Exited with exit code: 1
    Jun 5 06:16:14 Davids-Computer com.apple.launchd[1] (org.apache.httpd): Throttling respawn: Will start in 10 seconds
    Davids-Computer:log dac$

  • PHP Local Testing Server Not Working!

    Hi Guys,
    I've just set up my PHP local testing server, although its not working properly! If you could help that would be so wonderful!
    Here is my current settings:
    Local Site Folder: C:\XAMPP\htdocs\valsoo\
    Web URL: http://localhost/valsoo/
    Server Folder: C:\XAMPP\htdocs\valsoo\
    Local/Network
    Server Model: PHP MySQL
    I'm testing the 'local testing server' with a file called site_check.php which works in the Local Site Folder root (C:\XAMPP\htdocs\valsoo\site_check.php) but fails to work when the file is within folders (C:\XAMPP\htdocs\valsoo\lesson01). Not all files work in the root either. ANY SUGGESTIONS?
    Thanks so much!

    Brentis wrote:
    I'm testing the 'local testing server' with a file called site_check.php which works in the Local Site Folder root (C:\XAMPP\htdocs\valsoo\site_check.php) but fails to work when the file is within folders (C:\XAMPP\htdocs\valsoo\lesson01). Not all files work in the root either.
    If site_check.php works, your local testing server is working.
    What do you mean when you say that it fails to work when the file is in a folder, such as lesson01? What actually happens? What sort of files don't work in the root? Without more details, it's impossible to help.
    If site_check.php is in C:\XAMPP\htdocs\valsoo\lesson01, you should be able to access the file through http://localhost/valsoo/lesson01/site_check.php.

Maybe you are looking for

  • Thunderbird is using 12.5GB of disk space. How can this be reduced?

    I took a look at this thread: https://support.mozilla.org/en-US/questions/999525?esab=a&as=aaq However, I don't see any nstmp files, so the solution doesn't transfer. I use Thunderbird to manage six email addresses. At present, Thunderbird is using 1

  • Assignment of employee to activity

    hello every one in PS we assign employee to activities thru workforce planning. can any body tell me when we assign employee to some activity in which table this data is stored.i mean network, activity no, and employee.

  • Safari keeps crashing since I installed OSX Lion

    I'm desperate - switched to Firefox because i cannot stand that anymore - safari just crashes whenever it tries to download something. Here's a crash log, if anybody can tll Process:         Safari [94027] Path:            /Applications/Safari.app/Co

  • AE Crashes When Opening Adobe Media Encoder

    My after effects started crashing whenever I opened up encoder a few hours ago. I thought taking a break and then trying it again would solve it, but it keeps crashing. he weird part is that it was working perfectly fine yesterday but now, it refuses

  • LSMW- Customer Create - Sales Data - URGENT

    Hi , I am trying to create the Customer via LSMW. With the basic information i am able create the Record. But , I am facing the Problem when i give the sales informations ( Sales organisation / distribution channel /division ). The values are not pop