Hi everyone,
I try to add an Apache login and pass authentification.
It works ... well, not as intended.
I have 2 server names, one ssh and a "normal" one.
This is how I've done it so far :
<Directory />
AllowOverride AuthConfig
order deny,allow
allow from XX.X.X.XXX 127.0.0.1
deny from all
AuthName "Login/Pass"
AuthType Basic
AuthUse...
I use Tiles 2 in my web application, and the basic setup I've got in my tiles.xml file is this:
<tiles-definitions>
<definition name="mainLayout" template="/jsp/layout.jsp">
<put-attribute name="header" value=""/>
<put-attribute name="menu" value="/jsp/defaultMenu.jsp" />
<put-attribute name="content" value="...
I'd like to produce regional versions of a php powered website, for example:
www.mysite-england.co.uk
www.mysite-wales.co.uk
www.mysite-scotland.co.uk
I'd like to setup one LAMP server to serve all the domains with a single php MVC using $_SERVER['HTTP_HOST'] (or similar) as the primary content modifier. Ie
if($_SERVER['HTTP_HOST'...
I'm running mediawiki on an apache on a regular pc running vista (don't know the specific specs, but a regular pc, one year old, nothing special).
Edit: I'm guessing something like duo core 2 2 giga hertz processor, broadband connection (500 kb/s at least) and most of the time the requests will be sent through LAN (but sometimes through...
This is installed on a Unix system I don't have direct access to, but can get insight on by sitting with a network team.
The problem is this, I have 3 folders I need access to, read and write. The problem is, I only have access to 1 of them, and only read. This is via ColdFusion, I can get into them fine with the user they are assigne...
In code, my question is:
if(file_exists( c/ $requesturl )
serve( c/ $requesturl )
else
serve( index.php?blah )
In human form:
My script generates CSS. This is pretty intensive, so I built in caching.
People request:
http://domain.com/css/1lfi4wg.css2
Which is rewritten:
RewriteRule ^([a-zA-Z0-9\-]*)\.css$ index.php?cssfilename...
Hi all,
currently in order to access statistics on my site I access this link:
www.mysite.org/awstats/awstats.pl?config=awstatsconffile.org
all is working fine, but what I want to achieve is simply this:
www.mysite.org/stats/
I've created the "sites" directory and inside I've created the .htaccess file but without success.
Any idea...
Hello,
I'm using xampp (just for local development) and have a number of virtual hosts configured using the standard httpd-vhosts.conf file to ease development, e.g. http://website1.localhost, http://website2.localhost
I'm now setting up subversion, however on following the instructions I find on the web, when I add the following comman...
Here's the problem: we have a family (approx. 8) of websites, each hosted on a different subdomain of a single domain common to every member of the family. E.g.,
ecommerce.my_domain.com
forums.my_domain.com
signup.my_domain.com
For various reasons, each subdomain is administered separately from the others--i.e., different servers, c...
Hi all,
Am Running apache as a frontend to mongrel ,but i would like apche to server one more application that is based on php ,i would like to access tham at different time all my php pages are put in one folder ,so how do i achieve it this is how am running apache frontend to mongrel
ServerName www.src.com
DocumentRoot...
Hey all, this is quick one, since I'm quite new to git. I have a repo setup on a server (A) where access is via ssh rsa keys. I have a few users there including myself. Now I do git clone on my local machine and get a local copy, make changes, and push origin master, everything works fine.
The problem I'm experiencing is that our testin...
hi there!
i have a problem with my server which is running ubuntu (debian) linux and apache 2.2/php 5.2
as this is mainly a productive server, display_errors is turned OFF in the php.ini
for development purposes, i want to enable these error reporting stuff for certain domains. but when i set
php_flag display_errors on
in the .htacc...
RewriteRule oferte-cel-mai-bun-pret(-(apartamente|garsoniere|case|vile|birouri|spatii-comerciale|spatii-industriale|mini-hoteluri-pensiuni|ferme|proprietati-speciale|terenuri-intravilane|terenuri-extravilane))?(-(([0-9+])-([a-z-+]+)+))?-(vanzare|inchiriere)/([a-z-+]+)(/pagina-(([0-9]+)+))?(/)?$ index.php?seo[]=anunturi&tip_categorie=$2&n...
I need to create for my blog in PHP, a chat like facebook-chat in erlang.
But I don't know how to share the username+password between APACHE and Ejabberd.
How do I do this ?
...
Hi,
I'm an absolute newbie to EC2. My goal is to run a php-mysql-website on EC2.
I've just setup a new instance based on this ami
It seems that apache isn't running? How do I start apache? Is there a general tutorial on how to start EC2 as a web server?
Thanks!
...
I've been learning Java for the last 2 months with a Core Java book. Now I want to write something real, but at first I decided that I need to improve my knoweledge about algorithms and data sturctures so I'm currently reading a book on that.
I want to join an open-source project which is mature enough to learn from it but is still gro...
I have a hosting account which provides me a folder to publish my files for my domain (say www.example.com). I have set up Drupal for www.example.com with .htaccess at the top folder to enable clean-urls for the Drupal installation. Now I want to have a Wordpress installation under www.example.com/blog/ and have clean URLs for that blog....
I'm trying to install Testlink on my Ubuntu. I Have XAMPP running, and the Testlink folder is on /opt/lampp/htdocs/testlink
When i try to install in using http://localhost/testlink/install/index.php it says:
Not Found
The requested URL /testlink/install/index.php was not found on this server.
Whats wrong?
...
Hi Guys,
I have created a lamp bitnami server on Amazon. I was wondering how to enable mod_rewrite on it?
This is the server that I have http://bitnami.org/stack/lampstack
I have tried installing "sudo apt-get install apache2.2-common"
then running "sudo a2enmod rewrite" and then editing "/etc/apache2/sites-available/default" and ma...
I'm newbie to the linux and apache server configuration so please give me some advice.
I installed VMware in my WinXP and installed CentOS5 to it. After I set up Apache server in my CentOS, I can access that server from my CentOS(of course). But is there a way to access that from my Windows?
I think that is definitely possible if some...