-
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: https://javascript.livejournal.com/167099.html
-
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: https://php.livejournal.com/680454.html
-
.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: https://apache.livejournal.com/43049.html
-
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: https://apache.livejournal.com/41804.html
-
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: https://apache.livejournal.com/41725.html
-
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: https://apache.livejournal.com/41268.html
-
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: https://apache.livejournal.com/41133.html
-
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: https://apache.livejournal.com/39707.html
-
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: https://apache.livejournal.com/39386.html
-
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: https://apache.livejournal.com/38750.html
-
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: https://apache.livejournal.com/38566.html
-
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: https://apache.livejournal.com/38398.html
-
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: https://apache.livejournal.com/37811.html
-
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: https://apache.livejournal.com/37060.html
-
"You don't have permission to access.."
Date: 04/25/07
(Apache) Keywords: php, mysql, sql, apache
I'm running Apache 2.2 from wamp (so I have PHP5 and MySQL 5, though I don't think it has anything to do with them) on Windows XP. Anyway.
I can access everything fine using "localhost", and a friend told me that I could access my server by just using my computer's name. So I named my computer "nemo-serv" (all my electrical devices are named after characters from Finding Nemo, my laptop is Nemo,) and then could use nemo-serv fine, just like localhost.
Then I changed something, and I just get a "You don't have permission to access this directory" when using nemo-serv, though localhost is still fine. I really have no idea what I changed that could have done this, but I was hoping you guys would be able to point me in the right direction.
Thanks ^^
Source: https://apache.livejournal.com/36535.html
-
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: https://php-dev.livejournal.com/75751.html