bunch of noob questons...answer what u can =)
ok, first...is there a way i can link a directory to another name and have it be treated like a normal directory and not a link? i have a website using .asp files to list the contents of a directory, and it shows up blank in symlink directories...for example, i want to have a directory called "Screen Shots" shortened to "Screens"...yes, and appear in my /var/www folder, and the .asp file in it to list the contents...if u need more info (ie the script, just ask) :)
second...i need to know how to route intrenet too my LAN (most likely nat)... third...how do u set transperency in aterm? O.o fourth...is there a way to convert ntfs to like reiser or ext3 or something that linux can write to? (i know theres a pogram that can write to ntfs, but it never works for me)... x_x out of all of these...i realllllyyyyy need the first and fourth...i can google the other two...just thought id ask while im at it.. thanks in advance, chris |
hi chris
can't help ya with the third and fourth, and but with the third...aterm...create a file in your home directory called .Xdefaults, then add this to the file...make sure you add the "." in front of the .Xdefaults... aterm*cursorColor:blue aterm*colorMode:true aterm*pointerColor:yellow aterm*pointerColor2:yellow aterm*borderWidth:0 aterm*tinting:#ffffff aterm*loginShell:true aterm*transparent:true aterm*shading:50 aterm*background:white aterm*foreground:light blue aterm*scrollBar:false aterm*fade: 60 !aterm*font: 9x15 aterm*font: 8x13 aterm*saveLines:4500 aterm*geometry:85x30 aterm*truetintingType:True ! ! colors ! aterm*color0:rgb:00/00/00 aterm*color1:rgb:cc/66/66 aterm*color2:rgb:66/cc/66 aterm*color3:rgb:cc/cc/66 aterm*color4:rgb:66/66/cc aterm*color5:rgb:cc/66/cc aterm*color6:rgb:66/cc/cc aterm*color7:rgb:cc/cc/cc aterm*color8:rgb:63/33/33 aterm*color9:rgb:ff/99/99 aterm*color10:rgb:99/ff/99 aterm*color11:rgb:ff/ff/99 aterm*color12:rgb:99/99/ff aterm*color13:rgb:ff/99/ff and that will give you transparency... |
Quote:
For the fourth, no luck there. Back up your files and reformat, that is all you can do. |
Re: bunch of noob questons...answer what u can =)
Quote:
If what you want is to have a link *inside* /var/www renaming a dir you can always use good ol' HTML tags. Either way symliks would perfectly work, AFAIK. Quote:
The first is straightforward. For the second you will need to enable NAT: Code:
modprobe iptable_nat After this, enable the NAT server as the default gateway. IMHO this approach is the safest if you use a secure machine (not your webserver) as gateway. Quote:
Code:
Section "Extensions" Quote:
Code:
modprobe ntfs_write In case you don't know, or you don't find the module, just post and I will tell you how to recompile the kernel so that you get the module working. But please tell us which distribution you use. |
well, the method that detpenguin said worked for the "transperancy"...the real transparency thing didnt work though...would the fact that im using vnc have anything to do with it? and...my x config file is /etc/X11/XF86Config-4..
when i try the ntfs write... Code:
debian:~# modprobe ntfs_write also, is there some alternative that i can use to symlinking then? for example, on windows, i used the "virtual directory" feature of iis (internet information services...microsoft webserver lol)..what i have is a html page with links, and when you click one it will load or example, "/Screens/main.asp" which would display the contents of the screens folder...wherever it is...i dont need the actual folder to be there, i just need the webserver to THINK its there...i have apache 2... also...whats the difference between symlinking and hardlinking...and why cant even root hardlink a directory?? hope my reply didnt take too long...i was relying on emails to inform me of replys...never got em... O.o lol |
For number1, if your using apache you need to add
Code:
Options +FollowSymLinks Code:
<Directory "/var/www"> Number 2, depends on the router/switch you are using look at the documentation that came with it, it will tell you what you need to do. Number 3, well thats already been done to death, lol. You should have that sorted by now NUmber 4, you need to compile ntfs read/write support into the kernel, though support for the ntfs file system is not stable. As far as I know there is no utility to convert ntfs to a native linux file system |
a symlink is where a file which points to another file which points to a place on the disk
a hardlink where two files both point directly to the same place on the disk i dont know why root cant hardlink as ive never had need to. |
I can't really add much help to what's been posted already, with the exception of the way the thread is structured.
It would be better to use seperate threads for each question so that unique threads topics are maintained. |
umm...there is no clause like that in my httpd.conf file...its actually quite empty only a few lines...all commented out...can you tell me what to put to add it? i also don't see it in the apache2.conf file...
ill keep that in mid next time david.. >.> EDIT: actually, i found that the file i need to edit is in /etc/apache2/sites-available/default...unfortunately, follow symlinks is already on...when i disable i cant access the asp in the dir, and when its enabled, i still cant view the folder contents...im reseraching this sites-available and sites-default thing...maybe i can get it to create other "sites" and use them as folders...(id make a site with a home dir of lets say... /mnt/hdc2 and the default page main.asp) mmm i just got a big wtf question :) the asp files in the subdirectories of the linked folder work...so lets say the linked folder is Screens... Screens/main.asp wont display the contents of /var/www/Screens but Screens/UT2004/main.asp WILL display the contents of /var/www/Screens/UT2004 isnt that weird? O.o the default apache directory listing works in ever folder... another noob question on apache...quick one...how can i make it non-case sensitive...the .asp files aren't case sensitive in the links -.- |
there is a speling module that should solve that problem.
If you want to browse a folder set this as an option.. Options Indexes If you don't want to allow someone to browse a folder set this option.. Options +Indexes You should also check the ownership and permissions of your folders. |
aterm transparency
I do belive that there is an artical on aterm transparencys in the tutorials section
|
Indeed there is - I wrote it :D
|
All times are GMT -5. The time now is 10:42 AM. |