1. Apache serving non-php files as php?

    Date: 04/03/08 (Apache)    Keywords: php, apache

    My server seems to think the following is PHP and serve it as such:

    http://www.perturb.org/tmp/test.php.foo.bar

    However... the same file (symlinked)

    http://www.perturb.org/tmp/test.php.txt

    Is served as text. In fact it appears that apache servers the content as whatever the "last recognizable" extension. Shouldn't apache only server files that END in .php as php files?

    The configuration is very simple:

    AddType application/x-httpd-php .php
    AddType application/x-httpd-php-source .phps

    Source: http://community.livejournal.com/apache/41268.html

  2. Dealing With Outlook

    Date: 01/16/09 (Web Development)    Keywords: web, microsoft, apache

    I noticed in my employer's server logs that I'm getting a lot of strange requests in this format:
    "PROPFIND /instmsg/aliases/[username goes here] HTTP/1.1" 405 335 "-" "-"

    I'm not too familiar with PROPFIND, but I found out this is Outlook asking for information about the username (determined from email addresses / contacts). As you can tell, the webserver is currently responsing with 405 (Method Not Allowed) - does anyone know if there's a specific what I could or should be responding to these requests? Does IIS normally handle this (I have Apache)? Does request this normally get forwarded to a Microsoft Exchange Server (which my employer has)?

    Source: http://community.livejournal.com/webdev/517464.html

  3. Using XAMPP on Vista

    Date: 03/01/09 (PHP Community)    Keywords: security, apache

    Hi dear all,

    Sorry for bothering you.  I am using Windows Vista. I cant seem to start the Apache service.
    Does anyone know what might be causing it? I have a feeling, it may be some security issue.

    Source: http://community.livejournal.com/php/658673.html

  4. Couloir Slideshow Captions

    Date: 06/08/09 (Javascript Community)    Keywords: web, apache

     Hello everybody,

    This is a slideshow that I used and adapted for one of my website — original site is: http://www.couloir.org/js_slideshow/

    Is there an easy way to make the captions link to different pages within a website. I appreciate any help I can get.

    This the code that defines photos and their attributes (from the file called slideshow.js). Do I need to create a href function? If so, how can I do it?
    Please help.

    // Define each photo's name, height, width, and caption
    var photoArray = new Array(
    // Source, Width, Height, Caption
    new Array("IMG_0470.jpg", "600", "450", "Cycling from Telluride to Moab"),
    new Array("IMG_2441.jpg", "582", "350", "Mt. Toll as seen from the slopes of Mt. Audubon"),
    new Array("IMG_2449.jpg", "600", "300", "Taking flight from the summit of Paiute"),
    new Array("IMG_0677.jpg", "650", "488", "Plodding up Queen's Way Couloir on Apache"),
    new Array("P3220073.jpg", "600", "400", "A storm brews in the distance (Red Rocks, NV)")
    );
     
    Thanks :)

    Source: http://javascript.livejournal.com/167099.html

  5. Frameworks and Web Design Advice

    Date: 03/31/11 (WebDesign)    Keywords: php, css, html, java, web, apache

    Background info: I am a graphic design major who's interested in and currently taking a course on web design. I'm also minoring in computer science, and taking Web Architecture and Application Development right now. Our last assignment for this class is to create our own application, using whatever language we'd like. He's currently going over Apache Struts, but we're not required to used that. We'll just be more on our own if we choose another language.

    I'm not sure I want to devote a ton of time to teaching myself a new language, unless it's definitely going to help me if I were to continue pursuing web design more. I was originally thinking I may try PHP, and using this handy dandy chart on wiki, I determined that Joomla seems like the thing to use if I want to go that route (I believe we need the MVC thing). My web prof also suggested I look into Ruby, and Ruby on Rails.

    So my question to you is, which would be more advantageous to learn, PHP and Joomla, or Ruby and Ruby on Rails?

    And secondly, how difficult is it to learn them? (I know Java, HTML, and CSS. And COBOL, but that hardly seems relevant) Is one easier than the other? This project is due in about 4 weeks, and the application has to be fairly complex. Am I a lunatic to consider teaching myself a new language and create an application using it in that amount of time? Should I just go with Struts since I'd be able to get more help from my professor?


    I'm in the process of researching this on my own, but I'd love to hear any advice or suggestions you have in the matter, since I don't know many people in web design.

    Thanks!

    Source: http://webdesign.livejournal.com/1584064.html

  6. Differences between the web and cli?

    Date: 10/18/10 (PHP Community)    Keywords: php, apache

    I have a script that's working 100% fine when viewed as served by Apache. When I run it from the command line (i.e. php index.php) I get a DB connection error. Everything is the same, but when run from the command line it doesn't work. Any ideas on differences between the two methods of running the script?

    Source: http://php.livejournal.com/680454.html

  7. .htaccess works in http, not in https

    Date: 10/07/08 (Apache)    Keywords: apache

    Hi everybody,
    first time poster.

    This has me a little perplexed.
    I don't have shell access to this machine so i can't check logs and such to see what is actually going on, but my .htaccess script works fine under http, but it fails to accept the same password with https accesss.

    my thought is that perhaps there is some form of authentication difference, or perhaps i need to rebuild my .htpasswd file again.

    however this is my .htaccess file

    AuthUserFile /full/os/path/to/file/.htpasswd
    AuthType Basic
    AuthName "Admin Folder"
    Require valid-user



    any ideas?


    ---- UPDATED 2008:10:08 ----
    got this from their tech today.

    > Subject: Re: Re: Https and basic authentication under apache.
    >
    > haven't had any success as yet.
    >
    > the problem appears to be that the username is being "lost" when
    > authenticating via the SSL server.. (the error_log shows a "blank
    > space" where the username should be....)
    >

    Source: http://apache.livejournal.com/43049.html

  8. Reserved word in apache?

    Date: 06/25/08 (Apache)    Keywords: php, apache

    While I do have RewriteRules in my htaccess, I'm not employing them currently. And I do not see this as a PHP issue, so here I am. I have a fuseaction based LAMP site, and one of the links in particular isn't working right.

    Clicking Link:

    http://foo.com/index.php?page=client_sign_in&subpage=file_upload

    Returns URI as:
    http://foo.com/index.php?page=$redirect_page


    Upon further inspection, I noticed that if I change the text from 'file_upload' to 'file_upload1', or any other variation, it works. Is this a reserved word in apache?

    Source: http://apache.livejournal.com/42353.html

  9. Configuring SVN and Apache

    Date: 06/24/08 (Apache)    Keywords: apache

    svn came installed on my RHEL5 box and I am working on configuring the system for use with Apache.

    I am using the following tutorial: http://www.howtoforge.com/apache_subversion_repository_p2

    Everything seemed OK (no errors) until the section "Setting up the initial repository layout:". When issuing the third command:

    svn import /tmp/subversion-layout/ http://127.0.0.1/subversion/


    The system returned the following error:

    [user@myserver directory]# svn import -m /tmp/svnmessage /tmp/subversion-layout/ http://127.0.0.1/subversion/
    svn: PROPFIND request failed on '/subversion'
    svn: PROPFIND of '/subversion': 405 Method Not Allowed (http://127.0.0.1)

    I did not restart apache before issing the svn import command - is that necessary? Also, I created all of the directories as root. Would that cause this problem?

    Source: http://apache.livejournal.com/41804.html

  10. Sporadic network timeouts

    Date: 04/17/08 (Apache)    Keywords: apache

    So, three sites are hosted on a single RHEL5 box, with Apache 2x serving pages. Apache is using IP based virtual hosts.

    Every once in a blue moon I try to access one of the sites and receive network timeout errors (doesn't matter if I access via IP or domain name). The other two sites are still up and serving pages quickly - no slowdown or timeouts.

    After several minutes the network timeouts go away on their own.

    Any ideas?


    Source: http://apache.livejournal.com/41725.html

  11. Apache serving non-php files as php?

    Date: 04/03/08 (Apache)    Keywords: php, apache

    My server seems to think the following is PHP and serve it as such:

    http://www.perturb.org/tmp/test.php.foo.bar

    However... the same file (symlinked)

    http://www.perturb.org/tmp/test.php.txt

    Is served as text. In fact it appears that apache servers the content as whatever the "last recognizable" extension. Shouldn't apache only server files that END in .php as php files?

    The configuration is very simple:

    AddType application/x-httpd-php .php
    AddType application/x-httpd-php-source .phps

    Source: http://apache.livejournal.com/41268.html

  12. Apache SSL, removing passphrase prompt

    Date: 03/05/08 (Apache)    Keywords: apache

    When my system reboots Apache needs the passphrase to start. I'd like to remove this prompt so the server can start without human intervention. So, according to the docs I can do this:

    openssl rsa -in server.key.current -out server.key.new

    But I wasn't prompted to enter my passphrase when issuing this command.  The resulting outfile is identical to server.key.current.
    Suggestions?

    Source: http://apache.livejournal.com/41133.html

  13. 404 for user pages

    Date: 12/21/07 (Apache)    Keywords: apache

    I've thought of adding MediaWiki to my site just to make it super easy to add content whenever I wanted. I know I could make Apache serve the wiki user page if the ~username URL was requested, but is it possible to make it do that only if it couldn't be found in the more traditional location (like his home dir) first? Would that require some kind of handler script?

    Source: http://apache.livejournal.com/39707.html

  14. Apache Con

    Date: 11/14/07 (Apache)    Keywords: apache

    Anyone here in Atlanta at ApacheCon?

    Look for the guy in black with the pipe in one hand and a book in the other. That's me.

    Source: http://apache.livejournal.com/39386.html

  15. Analytics

    Date: 09/11/07 (Apache)    Keywords: apache

    Our project is interested in buying a solid analytics application for several sites hosted on an Apache server.   What are our best options?

    Source: http://apache.livejournal.com/38750.html

  16. FilesMatch

    Date: 08/27/07 (Apache)    Keywords: php, apache

    I want to generate links with my code like "index_flotsam.php" and "index_jetsam.php" and have apache ignore everything but "index.php". So if the user clicks on "index_flotsam.php" it will just take them to the file "index.php" but will still display the url "index_flotsam.php". I'm using Apache 2.2.4. I have a feeling I could probably do this with the FilesMatch directive, but I'm not entirely sure how. Any ideas?

    Thanks!

    Source: http://apache.livejournal.com/38566.html

  17. Problem with verisign cert

    Date: 06/28/07 (Apache)    Keywords: browser, apache

    We bought a certificate for a domain.   I've set up a few sites with ssl before this, so I was careful to enter the FQDN in my csr request.  A day later Verisign sent the cert in an email, which we copied into a sitename.crt file on the server.   I made an unecrypted version of the key so I wouldn't have to enter the passphrase every time Apache starts.  (yes I entered the passphrase, which was accepted)

    So - I start the server without errors.  When I access the site using https://sitename, the browser returns a certificate mismatch error.   The cert details appear with localhost, localdomain, ect, which is not what I entered when creating the csr & key. 


        ServerName sitename.department.domain.ext
        ServerAdmin abc@123.def
        DocumentRoot /www/virtualhosts/sitename
        ErrorLog /var/log/httpd/sitename-error_log
        CustomLog /var/log/httpd/sitename-access_log common
        SSLEngine On
        SSLCertificateFile /usr/local/ssl/crt/sitename.crt
        SSLCertificateKeyFile /usr/local/ssl/crt/sitename_unencrypted.key
        SSLCACertificateFile /usr/local/ssl/crt/intermediate.crt



    Is there a way to print out the details listed in a crt file, from command line?   Can I do the same with the original csr file?  

    Source: http://apache.livejournal.com/38398.html

  18. Apache 2.2.4 and Vista

    Date: 06/21/07 (Apache)    Keywords: apache

    I guess lots of people (including me) are having problems getting Apache to work on Vista. I don't know if anyone's already posted this solution, but I pieced it together from a few different sites that each offered their own little tidbit. I hope this helps someone:

    1) if you have already been trying to make this work, make sure you completely remove and detele all evidence of apache 2.2.4 from your computer: program files, registry, etc. if you haven't had a failed install attempt and you're starting fresh, go on to step 2.
    2) turn off User Access Control
    2) run cmd.exe as an administrator. you can do this by right-clicking on the link in the start menu program list.
    3) from the command line, go to the directory your apache msi file is in. enter: "msiexec /i .msi" (without the quotes obviously)
    5) let the program run, check off everything as you see fit. when the program has finished running, it will most likely display an error popup. close this.
    6) back on the command line (still running as administrator), go to \bin and enter: "httpd -k install"
    7) now apache should show up as a service. but you're not done yet! go to the apache monitor/control thingy in your start menu. right-click it and go to properties->compatibility. set the compatibility mode to winxp sp2.
    8) that's it! you may want to start your apache control, but it will run now without that.

    Source: http://apache.livejournal.com/37811.html

  19. Seperate instances of Apache under one box

    Date: 06/11/07 (Apache)    Keywords: security, hosting, apache

    Can Apache run under different instances, so that we can direct traffic to each Virtual Host under a different instance. Would doing so offer better security than simply using virtual hosting? One of our sites is internal, the others are public. We want to keep the internal site locked down extremely tight.

    In that same light, is it possible to have different SSL certs for different Virtual Hosts running on the same physical box (under one IP)?

    Thanks for suggestions/pointers.

    Source: http://apache.livejournal.com/37060.html

  20. Job Posting: Lead PHP developer position

    Date: 02/17/07 (PHP Development)    Keywords: php, mysql, browser, css, html, database, sql, web, linux, apache


    Schedge, an Austin based company, is reinventing scheduling.

    We are looking for an experienced Lead PHP developer.

    Have you developed enterprise scale PHP applications?
    Have you worked with technologies like AJAX and MVC?

    Then this might be the position for you!

    You'll be responsible for leading the development efforts of the core application. The position is contract-to-hire with the option of equity in the company.

    Key Areas of Responsibility:
    * PHP Application and database development
    * Work with Designers and other Developers to build complex user interfaces and data interactions
    * Write/Update functional specs

    Required Experience:
    * Enterprise scale PHP experience
    * MVC (Model-view-controller) design experience
    * Basic DOM Scripting experience
    * Basic (X)HTML & CSS experience
    * MySQL
    * Multi-browser development
    * Apache Webserver

    Preferred additional experience:
    * Experience with the CakePHP (or similar) PHP framework
    * Flash or Action Scripting experience
    * MySQL clustering
    * Code development for Linux servers

    You'll be a good fit if:
    * You “get the Web”, and understand it’s full potential.
    * Work efficiently and get it right, not just "good enough"
    * Can set and execute priorities individually and in a group
    * Effectively communicate to people of varying levels of technical expertise

    Please note: This is a 100% telecommuting position but the ideal (but not required) candidate would be located in Austin, TX and available for weekly meetings.

    If you feel you are a good fit for this position please send your resume and rate per hour to jobs@schedge.com

    [cross posted] My apologies if you receive this post more then once.

    Source: http://php-dev.livejournal.com/75751.html

Previous page  ||  Next page


antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home