Hi everybody,
I have a problem using Flex with BlazeDS on a Tomcat 5.5 through a Proxy (Apache). I already searched for it but didn't find answers which solved my problem. I hope you guys can help me out. :-)
Our scenario is the following:
Flex-App using BlazeDS to communicate with our Dataservice on a Tomcat 5.5. The Webapp is balze ...
I have an .htaccess file with this: (I didn't write it)
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?bla=$1 [L,QSA]
Problem URL http://localhost/index/test
The "index" part seems to match "index.php" that's in a web dir and Rewrite fails.
Question: What's wron...
This is from my TV guide pagination script (note, the top half is not mentioned as there are no problems with the code in the beginning):
class paginationData {
private $program;
private $channel;
private $airdate;
private $expiration;
private $episode;
private $setReminder;
public function __construct($program, $chann...
OK - Simply, I'm building a site that needs to incorporate an existing page, protected with a simple .htaccess/.htpasswd script.
How can I pass the username/password to the receiving site using PHP?
Thanks in advance for your help!!!
UPDATE - I think I may have over-complicated the question. What I'm needing to do is essentially:
<a ...
If I have a multiValued field type of text, and I put values [cat,dog,green,blue] in it. Is there a way to tell when I execute a query against that field for dog, that it was in the 1st element position for that multiValued field?
Assumption: client does not have any pre-knowledge of what the field type of the field being queried is. ...
Can anyone help me to set up Python to run on Wampserver. From what I've read so far you would need to use a combination of Wampser, Python, mod_pyhton, and adjustment to the Apache http.conf file. I've tried it but i belive i am having conflict when it comes to versions. Does anyone know of a cobination of versions that can work so that...
rewriteengine on
rewriterule ^/a/b$ ^/c$
not working,but
rewriteengine on
rewritebase /
rewriterule ^a/b$ ^c$
works.
...
First off, sorry if this shouldn't be on Stack Overflow, and instead should be on Server Fault / Super User. I am pretty sure it is a programming issue...
I am getting a whitescreen on a Magento install for a PDF generation script. I usually attribute whitescreens to memory issues on Apache, but:
I am getting no visible errors (disp...
An external company holds the name servers for several domains for a web site which I host.
I host the site and have a vhost setup with the domainName and domainAlias for:
www.example.com
admin.example.com
The external domains also need to redirect to the site:
www.somedomain.com
www.anotherdomain.com
What must I add to my vhost...
Hi,
I'm writing a website that allows people to asses a web page's readability (Flesch-Kincaid Reading Ease, thank kind of thing).
Ideally I'd like the user to be able merely to preceed the target URL with mine (like many mirror sites do), and hey presto they can see the results.
I'm guessing it's got to be done with mod_rewrite, but...
Hi there,
tried to find the problem for this but nothings really working.
Basically, I'm trying to use the following regular expression:
RewriteRule ^course/filter:([a-zA-Z0-9_-\,\=]+)$ php/manage_courses.php?display=list&filter=$1 [L]
however I get a 500 error and this in the error log (note the escaped chars):
[Wed Jan 27 16:29:3...
I'm doing some introductory work with django which seems really easy (and fun) so far but I have been doing all this from Python 2.6 which I installed in /opt/local (RedHat 5.3) because the python that came with redhat was 2.4. I set up a symlink:
/usr/bin/python2.6 -> /opt/local/bin/python
and I have been using that for all the djang...
I've got my windows pc (localhost) running xampp, it loads the pages sometimes really quick or sometimes really slow...
So I figured and searched and was recommended to get wamp. So I got that and installed it, still... the pages load so damn slowly. No heavy cpu load or anything, all my ports are open too.
Any ideas?
...
Hi!
I'm trying to configure Apache to have to different symfony projects (each with his own installation of the framework) under the same domain, but I can't get it to work using folders.
This is what I would like to have:
mydomain.com/projectone/
mydomain.com/projecttwo/
I can make it work using subdomains, but is not the preferre...
I am using Apache 2.2.6 with suPHP 0.6.2 and PHP 5.2.6 and I am trying to use an Alias in order to route all requests on a certain URL trough a PHP script. I want all requests to /test to go through index.php. In the Apache virtualhost config I have set up an Alias Alias /test /index.php. index.php is just a dummy script containing the f...
I am trying to get django up and running in production mode but I get this error that I can't seem to fix:
ExtractionError: Can't extract file(s) to egg cache
The following error occurred while trying to extract file(s) to the Python egg cache:
[Errno 13] Permission denied: '/home/james/.python-eggs'
The Python egg cache directory ...
Hi,
Basically when I have more than about 25 file uploads in one form, the PHP $_FILES array is cropped to the first 25 entries (0-24), which is incorrect. It should have all 31.
This only happens on one particular server. Apache with PHP. I’ve tried it on two other servers and they seem to allow all 31.
Could this be caused by some co...
I have this line in my wsgi.conf file:
WSGIScriptAlias /trunk "c:/app/trunk/app.wsgi"
Inside of my django settings file, I need to know the alias "/trunk" to get LOGIN_URL to work properly. How can I retrieve this value from my apache settings?
Thanks!
Pete
...
Is it possible to rewrite an url and also block the file extension?.
eg: if I have
`http://www.example.com/search.php?...`
can I rewrite it to
`http://www.example.com/search?` ?
but, blocking the access to the .php file, normally I can access with both ways, with and without the file extension, but I want it to show an error page...
Hi there,
I've got a client who recently changed their name. They had an SSL certificate for their site, and I was using mod_rewrite to ensure all requests to domain1.com and www.domain1.com went to https://domain1.com.
Now that they are domain2.com, I'd like everything to go to https://domain2.com. Not so easy, it turns out. I have eve...