Simple Question

Discuss news styles, css code, and other Coranto customizations in here...the possibilities are endless, so have at it!

Moderator: Spunkmeyer

Simple Question

Postby InsaneTice » Tue Sep 17, 2002 8:19 am

I have a really simple question. I am using SSI "virtual includes" on my website and I'm attempting to save a lot of space, but I'm having a problem. I have a lot of different directories and I'm trying to use the includes to link to one set of files. I have the main files in my CGI-BIN, and I'm trying to link to them from a separate directory, example:


Is it possible in the includes to go up a directory and link to the files since you can use absolute paths? I know someone knows this answer so I'll thank you ahead of time.
Posts: 10
Joined: Sun Sep 08, 2002 5:50 am

Postby Sumaleth » Tue Sep 17, 2002 8:46 am

Well firstly it might be worth pointing out that it's usually not a good idea to have .html pages under the /cgi-bin directory structure. Some servers allow it, but it's not encouraged.

Secondly, you can go "back" a directory with: ..



Or better still, you might be able to use:


(the / at the start of that one means to start at your home directory and go from there)
Posts: 1366
Joined: Thu Jul 11, 2002 4:31 pm

Postby InsaneTice » Tue Sep 17, 2002 8:53 am

Okay, I had been searching around and I found that and that hadn't been working for me. So I wanted to know if having a "BASE HREF" code on the page would change how the include would work.

Also, if you're on AIM, would you mind IMing me at InsaneTice so I could talk directly to you?

Thanks again.
Posts: 10
Joined: Sun Sep 08, 2002 5:50 am

Return to Customization

Who is online

Users browsing this forum: Google [Bot] and 1 guest