[users@httpd] Re: How to redirect index page? - SOLVED

2012-05-26 Thread Csanyi Pal
Csanyi Pal writes: > Hi, > > on my apache2 server I have installed two aliases: > joomla in /usr/share/joomla/ > and > moodle in /usr/share/moodle. > > In /etc/apache2/conf.d/moodle I have the line: > Alias /moodle /usr/share/moodle/ > > and in /etc/apache2/conf.d/joomla I have the line: > Alias

[users@httpd] How to redirect index page?

2012-05-26 Thread Csanyi Pal
Hi, on my apache2 server I have installed two aliases: joomla in /usr/share/joomla/ and moodle in /usr/share/moodle. In /etc/apache2/conf.d/moodle I have the line: Alias /moodle /usr/share/moodle/ and in /etc/apache2/conf.d/joomla I have the line: Alias /joomla /usr/share/joomla/ One can open

Re: [users@httpd] trouble with virtualhost in http/https

2012-05-26 Thread Bill Unruh
On Sat, 26 May 2012, Alain Roger wrote: I did as in the documentation: # Ensure that Apache listens on port 80 Listen 80 # Listen for virtual host requests on all IP addresses NameVirtualHost *:80 DocumentRoot /www/example1 ServerName www.example1.com # Other directives here DocumentRoot

Re: [users@httpd] non-www to www redirect works with a little issue

2012-05-26 Thread Clay Porter
This works for us. RewriteCond %{HTTP_HOST} !^www\.example\.com$ RewriteRule .* http://www.example.com%{REQUEST_URI} [R=301,L] On Fri, May 25, 2012 at 6:53 AM, J. Bakshi wrote: > Hello, > > I have place the following in my .htaccess to redirect non-www to www > redirection > > ` > R

Re: [users@httpd] trouble with virtualhost in http/https

2012-05-26 Thread Alain Roger
I did as in the documentation: # Ensure that Apache listens on port 80 Listen 80 # Listen for virtual host requests on all IP addresses NameVirtualHost *:80 DocumentRoot /www/example1 ServerName www.example1.com # Other directives here DocumentRoot /www/example2 ServerName www.example2.org

[users@httpd] How to manage two aliases?

2012-05-26 Thread Csanyi Pal
Hi, on my apache2 server I have installed two aliases: joomla in /usr/share/joomla/ and moodle in /usr/share/moodle. In /etc/apache2/conf.d/moodle I have the line: Alias /moodle /usr/share/moodle/ and in /etc/apache2/conf.d/joomla I have the line: Alias /joomla /usr/share/joomla/ One can open

[users@httpd] Re: Error: The page isn't redirecting properly - SOLVED

2012-05-26 Thread Csanyi Pal
Csanyi Pal writes: > I'm running apache2 Version: 2.2.16-6+squeeze4 on my Debian GNU/Linux > Squeeze operating system. > > I have installed Moodle on this web server and it can be opened from > the Internet: http://cspl.me/moodle > > I have my small (Joomla) website too: http://cspl.me on this we

[users@httpd] REMOTE_USER in a "RewriteCond expr" test with v2.4

2012-05-26 Thread Richard Davies
Hi all, Apache 2.4 introduces ap_expr syntax for complex tests in "RewriteCond expr" I'm trying to write such a test which uses %{REMOTE_USER}. However, the %{LA-U:REMOTE_USER} look-ahead syntax needed to access this variable in a per-server context doesn't seem to work inside an ap_expr. Can a

Re: [users@httpd] trouble with virtualhost in http/https

2012-05-26 Thread Eric Covener
your putting hostnames in instead of using name-based virtualhosts but this doesn't work as you expect. Try mimicing the examples in the manual and using NameVirtualHost *:80 ... ... - To unsubscribe, e-mail: users-unsubscr..

[users@httpd] trouble with virtualhost in http/https

2012-05-26 Thread Alain Roger
Hi, i have some issues with virtualhosts in http and https on windows 7. basically i have 2 virtualhost using http/https and setup as following: [code]#-- # website1 with Joomla 2.5 #-- DocumentRoot "d:/webserver/www/website1" ServerName websit