Reputation
Top tag
Next privilege 10 Rep.
Answer protected questions
Badges
1 4
Impact
~3k people reached

  • 0 posts edited
  • 0 helpful flags
  • 0 votes cast
Feb
12
awarded  Notable Question
Jan
20
comment Index of / shown instead of index.html in apache 2.4.7
I managed to solve it. The problem was within the Directory directive in 000-defualt.conf, AllowOverride was set to None. Once I set it to All everything worked as expected. Thanks a lot for the attention to the question - not sure why it was down-voted.
Jan
18
comment Index of / shown instead of index.html in apache 2.4.7
I do have DirectoryIndex index.html in my virtual host defintiion and mod_dir is enabled as well.
Jan
18
asked Index of / shown instead of index.html in apache 2.4.7
Jul
28
awarded  Popular Question
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
awarded  Commentator
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.
Jun
21
awarded  Student
Jun
21
asked What is wrong with this apache URL rewriting rule?
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
Feb
27
asked Apache2: URL rewriting not working
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?