I am familiar with both ASP.NET and PHP and now want to develop a social networking website. Before start development, I have been browsing some articles / forums and etc to find out which technology is suitable to develop and handle much traffic in future.
Some people prefer PHP for the development. Is this only because of:
open sou...
I've just set up a new Ubuntu 10.4 slice on Slicehost, and have installed apache, mysql and php. I've uploaded my CakePHP app and everything is running fine, except for the webroot being inaccessible. I have tried adding AllowOverride to all in /etc/apache2/sites-available/default and followed the Cake instructions to httpd.conf by addi...
Hello,
i am currently working on an MVC webframework with a very special feature.
Layouts defined in XML files are seperated into content blocks that can be arranged/cached/loaded individually.
Every content block (this could be e.g. the footer which is re-used on several pages) has some sort of Controller of its own. I call it Blockco...
Hello fellas,
For the love of God, I can't seem to get this mod_rewrite working properly. Instead of doing brute force trial-and-error, let me ask here.
I want mod_rewrite rules to apply to ALL domains.
I want mod_rewrite entries in httpd.conf
I want to get rid of this WWW virus (for SEO purposes):
http://www.example.com > http://ex...
Hi,
Basically I have the following in my .htaccess file in the root of my site:
Options -Indexes
<IfModule mod_rewrite.c>
Options +FollowSymLinks
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?route=$1 [L,QSA]
</IfModule>
In my PHP script when I use $_GET['route'...
I just finished rewriting a significant portion of my web site using python's django, but I also have some legacy code in php that I haven't finished migrating over yet. Is it possible to get these two working on the same domain and if so, how do I go about doing it?
I'm running this site on a virtual Ubuntu instance and serving content...
Recently we've been having problems with our LAMP setup and we started to see the number of MySQL database connections spike up every now and then. We suspect that some mysql operation is taking longer than usual and apache just started to build a backlog of connections to deal with incoming requests.
Question is, is there a way to per...
I've got this:
RewriteEngine On
RewriteRule ^/redir?url=(.*)$ http://blah.$1
When I use this and go to the url that looks like:
http://www.mydomain.com/redir?url=www.otherdomain.com
It says the file isn't found on my server. I.E. no redirect.
What I want it to do in the above example would be to redirect to:
http://blah.www.othe...
Hi All,
I have created a front controller for my website. I want to pass all requests to the website through this front controller. Now I also have some other software installed in the web root and right now I am adding those folders to ignore via .htaccess so that their requests also don't go to front controller. I am doing something l...
Is it ok to assume /tmp folder writable by PHP/Apache on any unix system?
I'm making a script and want to save cache in the tmp folder and want to know whether that can cause problems.
...
My website allows users to upload their photos
Can I put kb/sec (or similar) limit on uploads to prevent them impacting performance of the frontend of my site?
...
The rails app I have allows users to manage holiday homes. Each property has it's own
"website/homepage" within my app and a user can tweak the content, it works well,
quite pleased so far. Typical rails approach to the resources so the URLs to a particular property look like this for the "homepage" of a particular property.
localhost:3...
Hello,
I'm having an upload Java applet to handle large files upload. The use of this upload is mandatory, so dropping it is not an option. The problem is that, after the upload, the applet redirects to a given url and sends some info through $_GET. I can't change that ( the sending method, the params order ). And the last param sent is...
As the title asks, the reason I'm asking is because I have a wordpress site which gets about 10K visitors per day on a dedicated server from iweb but in the evenings, around 8 to midnight the site crawls to a halt and page load time goes up to about 12 seconds or more compared to 2-3 during the day. Checking my google analytics its shows...
Hello guys,
I need help.
Currently I am using Ubuntu Apache server with PHP.
My server name is some rt-arr-php. I want to change it to rtapp.arr.edu
Please help me.
Thanks,
Raj
...
I am using Apache java XML-RPC latest version.
The code for sending the array in Server is the following:
LinkedList<String> messages = new LinkedList<String>();
public String[] getMessages() {
System.out.println("Sent messages");
return messages.toArray(new String[messages.size()]);
}
To receive in the client I have tried s...
What is wrong with my apache-conf, why is the file also reachable under a folder-path without an extension? I haven't set any rewrite rules and there are no .htaccess files.
This is the default os x apache installation.
...
Hi Everyone,
I've got this regular problem every morning that my build server (Hudson) is always stopped every morning so I have to manually start it, is there any reason why or any location that i can started to look for the error message ?
Thanks.
here's the error diagnostic that i did:
ascari:~# ps -ef | grep -i hud
root 595...
I have a client who wants me to build a site using PHP and SQL Server. Problem is I do all my PHP development in OS X running Apache. I have one machine running Windows with an SQL Server production environment but I can't seem to connect via "sqlsrv_connect" because I can't install the drivers for sql server on my Mac
Has anyone found ...
I'm having issues with rails/ruby passenger and need to lower the timeout value for apache.
I lowered it to 30 before.
What are the effects of setting it really low - like 5 seconds?
...