Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1777
  • Last Modified:

.htaccess symbolic link

I need a symlink done via .htaccess for my blog site, but I suck at .htaccess. Can anyne help?

I need images to show even when called from a non-existant directory.



example:



images stores in:

/images/


directory called in url:

/note/[user's id]/getting-on-track.html




See the problem here:
http://webmaster.blogchops.com/note/8/getting-on-track.html

But images ok here:
http://webmaster.blogchops.com/
0
zerofunk
Asked:
zerofunk
  • 2
1 Solution
 
NopiusCommented:
This page looks bad formatted in Mozilla...


You are using Apache 2.0.53
You may create alias /images, that will be visible from all subdirectories. This feature is called 'aliases', not 'symlinks'.
Here is a manual on how to create aliases:
http://httpd.apache.org/docs/2.0/mod/mod_alias.html#alias
0
 
NopiusCommented:
Also note, that this directive should be placed in httpd.conf global config, not in .htaccess
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now