You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Don Raikes <do...@draikes.com> on 2004/12/04 17:34:03 UTC
[users@httpd] rewriterule problem: .css or .xss not being processed
--
Thanks,
Don Raikes, webmaster
http://www.draikes.com
promoting family values and genealogical researchHello,
I am using mod_rewrite to access pages on an oracle oc4j webserver from
my apache server.
All is working except it appears that either the .css or .xss file is not
being processed since some formatting from the stylesheet is not being
applied.
my virtualhost block is as follows:
<VirtualHost *>
ServerAdmin don.raikes@oracle.com
ServerName staccessibility.us.oracle.com
# DocumentRoot " /var/apache/htdocs1"
ErrorLog /var/apache/logs/staccessibility-error.log
RewriteEngine On
# RewriteRule (.*)\.css
http://access.us.oracle.com:8888/st-acc2/cabo/styles/cache/$1.css [P,L]
# RewriteRule (.*)\.xss
http://access.us.oracle.com:8888/st-acc2/cabo/styles/$1.xss [P,L]
RewriteRule (.*)\.uix http://access.us.oracle.com:8888/st-acc2/$1.uix
[P,L]
RewriteRule (.*)\.uit http://access.us.oracle.com:8888/st-acc2/$1.uit
[P,L]
RewriteRule (.*)oraclelogo.gif
http://access.us.oracle.com:8888/st-acc2/oraclelogo.gif [P,L]
rewriteRule (.*)disabled3.gif
http://access.us.oracle.com:8888/st-acc2/disabled3.gif [P,L]
RewriteRule (.*)\.gif
http://access.us.oracle.com:8888/st-acc2/cabo/images/cache/$1.gif [P]
RewriteRule (.*)\.gif
http://access.us.oracle.com:8888/st-acc2/cabo/images/$1.gif [P,L]
RewriteRule ^(.*) http://access.us.oracle.com:8888/st-acc2/home.uix$1 [P]
RewriteLog /var/apache/logs/staccessibility-rewrite.log
ProxyPassReverse / http://access.us.oracle.com:8888/st-acc2/
</VirtualHost>
Nothing is appearing in my rewrite log file or in my error_log file to
suggest it isn't finding one of these files.
The reason I suspect this is the problem is that I opened the page
directly from the oc4j server and saved the html then I opened it from the
apache server and saved the html again.
The files are no different, and when I double click on the saved files in
windows explorer, they look identical.
When I view the pages from the two servers, the one viewed through the
apache server is missing some formatting and the visual tabs and buttons
are missing (this is the same as when I view the saved files with no .css
or .xss files available).
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] rewriterule problem: .css or .xss not being processed
Posted by Ralf Glauberman <rg...@michaeli-gymnasium.de>.
try to get the css-files directly from apache, i.e. enter the link to the
.css in your browser.
----- Original Message -----
From: "Don Raikes" <do...@draikes.com>
To: <us...@httpd.apache.org>
Sent: Saturday, December 04, 2004 5:34 PM
Subject: [users@httpd] rewriterule problem: .css or .xss not being processed
>
>
>
> --
> Thanks,
> Don Raikes, webmaster
> http://www.draikes.com
> promoting family values and genealogical researchHello,
>
> I am using mod_rewrite to access pages on an oracle oc4j webserver from
> my apache server.
>
> All is working except it appears that either the .css or .xss file is not
> being processed since some formatting from the stylesheet is not being
> applied.
>
> my virtualhost block is as follows:
> <VirtualHost *>
> ServerAdmin don.raikes@oracle.com
> ServerName staccessibility.us.oracle.com
> # DocumentRoot " /var/apache/htdocs1"
> ErrorLog /var/apache/logs/staccessibility-error.log
> RewriteEngine On
> # RewriteRule (.*)\.css
> http://access.us.oracle.com:8888/st-acc2/cabo/styles/cache/$1.css [P,L]
> # RewriteRule (.*)\.xss
> http://access.us.oracle.com:8888/st-acc2/cabo/styles/$1.xss [P,L]
> RewriteRule (.*)\.uix http://access.us.oracle.com:8888/st-acc2/$1.uix
> [P,L]
> RewriteRule (.*)\.uit http://access.us.oracle.com:8888/st-acc2/$1.uit
> [P,L]
> RewriteRule (.*)oraclelogo.gif
> http://access.us.oracle.com:8888/st-acc2/oraclelogo.gif [P,L]
> rewriteRule (.*)disabled3.gif
> http://access.us.oracle.com:8888/st-acc2/disabled3.gif [P,L]
> RewriteRule (.*)\.gif
> http://access.us.oracle.com:8888/st-acc2/cabo/images/cache/$1.gif [P]
> RewriteRule (.*)\.gif
> http://access.us.oracle.com:8888/st-acc2/cabo/images/$1.gif [P,L]
> RewriteRule ^(.*) http://access.us.oracle.com:8888/st-acc2/home.uix$1
> [P]
> RewriteLog /var/apache/logs/staccessibility-rewrite.log
> ProxyPassReverse / http://access.us.oracle.com:8888/st-acc2/
> </VirtualHost>
>
> Nothing is appearing in my rewrite log file or in my error_log file to
> suggest it isn't finding one of these files.
>
> The reason I suspect this is the problem is that I opened the page
> directly from the oc4j server and saved the html then I opened it from the
> apache server and saved the html again.
>
> The files are no different, and when I double click on the saved files in
> windows explorer, they look identical.
>
> When I view the pages from the two servers, the one viewed through the
> apache server is missing some formatting and the visual tabs and buttons
> are missing (this is the same as when I view the saved files with no .css
> or .xss files available).
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org