I have a website
www.somesite1.com which gets all its image content from www.somesite2.com
At the moment each time an image is to be displayed we simply use an absolute URL to ... |
Im sure ive seen a feature in apache that can rewrite urls so you can point domain2.com at domain1.com and it rewrites everything domain1.com to domain2.com on the fly.
is there a ... |
It's an important security issue and I'm sure this should be possible.
A simple example:
You run a community portal. Users are registered and upload their pictures.
Your application gives security rules whenever a ... |
I'm dynamically generating some charts using mod_python, in .png and .pdf formats. When a user points to /some/path/some_imagefile_name.png, I want to show the image within the browser, like in |
How to make apache web server dynamically load new CSS and images? The purpose is to change the look and feel of portals in a cluster of load balanced web server ... |
Is there a way to do this? I'd like for my assets to be served from a different document root, and I'm not sure if Apache has directives for that.
|
I have base64 encoded image. If I put it right into html it works:
<img src="data:image/png;base64,..."/>
But when I put all that base64 content into a separated file, it doesn't:
<img src="image.base64.txt"/>
I tried changing ... |
|
I have a few images and a css file on my site that don't exist on the server, so each time a visitor comes Apache throws 3 404 errors in it's ... |
There is something strange happening to my XAMPP.
Somethimes the images looks damaged. They are not completly loaded, gifs animations are crazy, some of them looks that doesn't exists. CSS also get ... |
im using the following to rewrite my urls:
RewriteCond %{THE_REQUEST} \.html
RewriteRule ^(.+)\.html$ /$1 [R=301,L]
RewriteCond %{REQUEST_FILENAME}\.html -f
RewriteRule ^(.+)$ $1.html
the problem is this causes the css and images to not appear - is there ... |
I have a site with static HTML pages in the home directory. These HTML pages use relative paths to refer to images, css, and links i.e.
<img src="images/myimg.gif">
and
<a href="contactUs.html">Contact Us</a>
I also ... |
I'm getting the following warning for a one of css files in my installation:
Resource interpreted as Image but transferred with MIME type text/css.
How to solve this problem?
I'm running apache2 ... |
i got another problem.
i have an own apache server (XAMPP) on my computer. The URL in my browser looks like
http://localhost/pageExample/index.php
i use a . htaccess file to change my url from ?action=home ... |
I wonder if anyone can help with the below and if it is even possible.
I have a server running apache and know a little about url re-writing and wondered if it ... |
I am starting to use mod_rewrite and would like to know if the below is possible...
RewriteRule ^test/([^/]*)/$ /test.php?x=$1 [NC,L]
That works as expected however, once the HTML generates I use relative paths ... |
We have website running with tomcat and apache and wish to cache only specific jpg, gif images at apache level to reduce tomcat load.
Regarding CSS and Javascripts, all of them can ... |