I have this url:
http://dev.example.com//zina/Artist%20One%20Demo?l=7&img=artist%20pic%20can%20can%20be%20named%20anything.jpg&it=full
And it's being rewritten to this:
http://dev.example.com/?p=Artist%20One%20Demo&option=com_zina&Itemid=82&l=7&img=artist%2520pic%2520can%2520can%2520be%2520named%2520anything.jpg&...
I just recently setup a fresh install of PHP, Mysql and Apache on my Windows 2003 server. Php is working fine and my Navicat MySQL browser can connect to my tables. However no matter what I do. MySQL doesn't show in phpInfo() even though I have the extensions in my ext folder. I installed PHP via the windows binary installer. Any idea wh...
Hi all,
I have a rails app that does the following (at the moment linear) process:
(1) User uploads a file via HTTP and a standard upload form on a standard HTML page
(2) The file is uploaded to an apache server (same server as the one hosting the app)
(3) The server uploads the file to remote storage service (call this storage 1)
(4) ...
I am using Apache HttpClient. my code looks like this
HttpClient httpClient = new DefaultHttpClient();
HttpGet httpGet = new HttpGet(uri);
HttpResponse response = httpClient.execute(httpGet);
InputStream is = response.getEntity().getContent();
File file = new File("filename.txt...
Hi,
Can I create a clean URL for WebBroker webpages/applications ?
A typical WebBroker URL normally looks like:
hxxp://www.mywebsite.com/myapp.dll?name=fred
or
hxxp://www.mywebsite.com/myapp.dll/names/fred
What I would prefer is:
hxxp://www.mywebsite.com/names/fred
Any idea how I can achieve this with Delphi/WebBroker ? (ISAPI/Ap...
How to redirect it as follows?:
mysite.com -> mysite.com/index.php
mysite.com/index.php -> mysite.com/index.php
mysite.com/index -> mysite.com/index.php
mysite.com/main.php -> mysite.com/index.php
mysite.com/main -> mysite.com/index.php
Same with .html extension (ie. mysite.com/index.html -> mysite.com/index.php)
...
Hello all,
When we use file_get_contents, what does PHP use to resolve the domain name (local DNS??).
I ask because I got this error:
Warning:
file_get_contents(http://external-domain.com)
[function.file-get-contents]: failed
to open stream: A connection attempt
failed because the connected party did
not properly respond ...
The following RewriteRule redirects every request to bootstrap.php except the filextenstions between the parentheses
RewriteEngine on
RewriteRule !\.(js|ico|gif|jpg|png|css|pdf|doc|txt|htm|html|xml|ttf|flv|swf|xml|ics|htc)$ bootstrap.php
Is it possible to exclude ALL files witouth declaring them like above?
So all requests should...
hi friends,
i am working on a iphone application,in which iphone application sends a request to the server using socket connection.in server side java code(using apache mina) takes the request and it processes the request and sends the response.
now the problem is if multiple iphone users sends request at a time to the server,t...
I have a shared linux hosting. Apache is running on it. My site is built in php. I have a chat application which uses ajax long polling. I want to turn it to comet chat. I do not have much knowledge about server things. Please help me step by step suggestion. It will be a great help to me. Thanks in advance.
...
Hi all
My current site is running on a dedicated server on apache + php. I am creating my new site in rails and running on nginx.
I want to run both sites together for a while while i slowly redirect all pages SEO rank etc to new site.
My current site has say domain www.mydomain.com and new site will have www.mydomain.com/en infront ...
I have a Selenium/PHPUnit test that needs to open a URL that contains an encoded URL.
$redirectToLocation = urlencode('/myothercontroller/action'); // %2Fmyothercontroller%2Faction
$this->openAndWait('/controller/action/thenRedirectTo/' . $redirectToLocation);
But when I run my test, the browser tried opening the decoded URL:
/contro...
Hi, I've recently set up a new site that runs a database via MAMP. It's actually an expression engine site and I'm developing it at localhost:8888.
I was wondering if there's an easy way to share the site with someone else over the web (like a client) via my IP address while my local server is running.
Not sure if there are security is...
I am getting the following info log in GAE's console:
"POST /xxx HTTP/1.1" 200 133 - "Apache-HttpClient/UNAVAILABLE (java 1.4),gzip(gfe)"
I can not understand if the servlet is not available, why is "200" being returned. I checked web.xml file for servlet mapping and they seem fine. What else could be causing it. Is it even an error on ...
I want to run a PHP file/function that will not stop until it finishes it work. Is there any option for that?
(It will not print any information to the browser, it will make calculations and it will store them on a database.
Note: The Apache server is in my PC.
...
I'm trying to set up a development environment on my aging Macbook Pro that matches my Linux EC2 production environment. I'm on the home stretch now, need only to get the mod_auth_mysql plugin for apache working. After a few hours of googling and patching and scratching my head, I think I'm almost there, but I've hit something that nothi...
I have a site which contains around 3000 static and dynamic pages. I think 2900 of the pages are based on 3 different php pages which create all the 2900 pages based on database content, and it has about 100 static pages.
How difficult would it be to integrate a CMS into the website so our Marketing department can make changes to the w...
I'm sure that's been asked zillions times but i can't get it to work,
i'm trying to rewrite a url with querystring, my url is for example:
http://example.com/articles/index.php?keyword=book
and i want to be accessible from
http://example.com/articles/keyword/book/
I google it and i didn't have any luck,
am i on the right track? i ...
Hi guys,
I am having weired problem, after adding my virtual host conf entry localhost is not working (getting forbiden 403) but 127.0.0.1 does (all accessed via browser - http), here you have my conf:
NameVirtualHost *:80
<VirtualHost *:80>
DocumentRoot "/MyData/__www/default"
ServerName localhost
<Location />
Order deny,allow...
Hi all
Anyone using repcached?
Basically, I am experimenting with it in order to use it for storing sessions there, while providing failover with its buildin replication
Basically, I have 2 nodes running centos 5.4. The replication works fine wi\hen testing it and running some benchmarks with ab.
However, I am doing the below test.
...