11 reputation
4
bio website
location
age
visits member for 2 years, 6 months
seen Jul 7 '13 at 6:26

Jun
21
comment What is wrong with this apache URL rewriting rule?
I have tried all the above suggestions. This is how the final looks like and unfortunately it does not work code Document root /var/www/folders <Directory /var/www/folders> RewriteEngine on RewriteBase /folders RewriteRule ^/abc/lmn$ /abc/lmn.html [NC,L] Options Indexes FollowSymLinks MultiViews AllowOverride None Order allow,deny allow from all </Directory>
Jun
21
comment What is wrong with this apache URL rewriting rule?
I am afraid your suggestion did not work. I did set the loglevel to alert and setup my own logs, but there is nothing in there.
Jun
21
comment What is wrong with this apache URL rewriting rule?
One thing is that I cannot get access to the logs on the Ubuntu server I am using, I did do a tail of the access log, but there are no rewrite errors and the rewrite is not firing.
Feb
28
comment Apache2: URL rewriting not working
This is not within a .htaccess file. It sits in sites-available in /etc/apache2. The logging is on but besides 404, I do not get anything in the access log, the rewrite log is empty.
Feb
28
comment Apache2: URL rewriting not working
I tried that, but it does not work.
Feb
27
comment Apache2: URL rewriting not working
I have several other virtual hosts, but they all have their own files. Only apache writes to that log and for this request I get HTTP/1.1" 404 506
Oct
5
comment Combining DocumentRoot and proxypass in Apache Web server
The problem is that Apache is displaying the default apache web server index.html rather than the index.html at DocumentRoot.
Apr
17
comment Apache forwarding to tomcat shows a blank page
Essentially my tomcat setup is serving a JSP page at :9090/mycontext/ and I would like http: //www.abc.com/ to get redirected to this page. Does it involve rewrite rules setting up for just this redirection ?
Apr
16
comment Apache forwarding to tomcat shows a blank page
I checked the apache access log. It shows that a request made to / gets directed to /mycontext/. Should it explicitly show example.com:9090/mycontext
Apr
15
comment Apache forwarding to tomcat shows a blank page
It is Apache's "It works page."
Apr
14
comment Apache forwarding to tomcat shows a blank page
Thanks a lot for your help. The solution partially worked. With the trailing slash added, a page should be shown when http ://www.abc.com/ is requested which corresponds to http ://www.example.com:9090/mycontext/. Instead it goes to the "It works" page. For other URLs such as http ://www.abc.com/test it does take me to http ://www.example.com:9090/mycontext/test. How do I solve the first bit?
Apr
13
comment Apache forwarding to tomcat shows a blank page
I have added the virtual host settings. Is there anything else I should add?