I have a system that has both a front end and an administration area.
currently i am giving the admin area a subdomain.
what i'd like to do it have it as a sub directory, e.g http://domain.com/admin
but the admin area is set up to be placed in root.
can i put something in my .htaccess to make the sub directory "/admin" think its the ...
I have read in a site that another benefit of having Lighttpd in front of Apache is lower number of child processes. Lighttpd will handle keep-alive and client requests while child processes of Apache gets to serve dynamic pages faster because of the very low latency communication between Lighttpd and Apache. I am trying to find the link...
There are some scripts that I use only via ajax and I do not want the user to run these scripts directly from the browser. I use jQuery for making all ajax calls and I keep all of my ajax files in a folder named ajax.
So, I was hoping to create an htaccess file which checks for ajax request (HTTP_X_REQUESTED_WITH) and deny all other re...
Hi,
I am running xampp on Windows XP. I can view the images in the localhost.
But others in my network are not able to see. The link for the image is broken.
Is there any setting that need to be changed.
Thanks in advance.
...
You've seen it done on sites like basecamphq.com where you would have username.basecamphq.com
I'm wanting to do a similar thing, any subdomain is routed through to the same index.php file.
so username1.example.com will request /home/some/path/to/www (in here is index.php)
and username2.example.com will request the same file
I have it ...
I have drupal installed in my website root with a directory called xi-admin underneath it, that directory has a .htaccess inside doing password protection. problem is, is that it is rewriting http://www.example.com/xi-admin/ back to index.php????
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUE...
I keep getting this error when I call 'tomcat:run'.
The plugin 'org.apache.maven.plugins:maven-tomcat-plugin' does not exist or no valid version could be found
My company hosts mvn repositories locally via 'activeprofile'. Is this preventing mvn from acquiring the plugin from the WWW location? If so, how can I activate that too...
...
I am having an issue with three older Drupal 6 sites that I can't seem to fix.
Whenever an admin uploads or edits a file, they get file permissions error. I tried setting the files folder to 777 -Rf. The problem seems to stem from the fact that files are getting created as apache instead of the virtualhost user (we use VirtualMin).
Af...
I'm wondering how CodeIgniter rewrites the url. By default, there is no htaccess file, yet
it still works?
thanks
...
I'd like an htaccess file that would redirect all pages to my index.php so that I can then parse the url and handle the rest. I just don't know how to write it.
thanks
...
Hi
Does anyone know of a good example of converting a PPTX powerpoint presentation to some form of image? PNG/GIF/etc?
I can do it for a PPT but looking for a PPTX conversion example
Thanks
...
I have a server app with Apache 2.2 (+mod_jk) + Apache Tomcat 6.0 that works fine. I can get to the web application's home page typing http://the_ip/application in the browser. But I want to access that page at the root address http://the_ip. Right now I am getting Tomcat's Root page
Can someone point me to a doc or posting that explains...
I have a Debian Lenny server running Apache 2.2. I run PHP using Apache's fcgi mod. PHP runs as user www-data (the default) because it's what Apache runs as and there is only one site on the server so I don't see any reason (feel free to correct me) to have the FastCGI instance run as a different user.
I chown the ownership of all my PH...
I have tried mod_fcgid from this source then before finishing steps I changed it back to mod_php by reversing what I did
aptitude purge apache2-suexec libapache2-mod-fcgid php5-cgi
then enabled php5
a2enmod php5
then diseabled following modules
a2dismod suexec
a2dismod include
a2dismod fcgid
After than when ever I pointed out Chromi...
I have enabled gzip compression for my website via the following in my .htaccess:
AddOutputFilterByType DEFLATE text/plain
AddOutputFilterByType DEFLATE text/html
AddOutputFilterByType DEFLATE text/css
AddOutputFilterByType DEFLATE text/xml
AddOutputFilterByType DEFLATE application/javascript
AddOutputFilterByType DEFLATE application/x-...
My task is simple, send an e-mail from a Silverlight app, but it has to work in most webservers so, Linux, Apache. Cannot use Windows Servers.
Is my best bet to create a simple PHP script to do the heavy lifting and make request to that using SL?
...
This is my .htaccess, and I'd like to rewrite my domain.com to www.domain.com. How can i do this?
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !\.(jpg|jpeg|gif|png|css|js|pl|xml|txt)$
RewriteCond %{REQUEST_URI} !example/
RewriteRule ^(.*)$ index.php?q=$1 [QSA]
Thanks
...
I'm working on a PHP script which generates large (multi-MB) output on the fly without knowing the length in advance. I am writing directly to php://output via fwrite() and have tried both standard output and using Transfer-Encoding: chunked (encoding the chunks as required) but no matter what I try the browser waits until all the data i...
I've been trying to transform my XML documents to PDF through Apache FOP,
but the output pdf is blank.
Any help to why this is occuring is greatly appreciated.
The code seems to be executed without errors:
C:\Users\dfh\Desktop\fop-0.20.5>fop -xml DICENTIA_SDC_SN_1_224860.xml -xsl testx
sl.xsl -pdf test2.pdf
[INFO] Using org.apache.xer...
I have a web application that works fine in IIS 6.0. I have modified to make it work in Apache Tomcat also.
Will there be any visible changes in performance between the 2?
Are there any specific advantages or limitations.
...