enabling SSI
- Afro-Ninja
-
Afro-Ninja
- Member since: Mar. 2, 2002
- Offline.
-
- Send Private Message
- Browse All Posts (13,458)
- Block
-
- Forum Stats
- Moderator
- Level 44
- Game Developer
Hey guys. I have a server, and I have an ftp program. I need to make my server look for shtml files and parse their includes
The server OS is FreeBSD 4.11-STABLE
I've tried looking up info on sites for commands to use but they don't work >:(
They suggest things like:
AddHandler server-parsed .shtml
AddType text/html shtml
to which I just get "invalid command" messages
I'm pretty new to setting server permissions and stuff.. It also says I should restart my server when I execute the commands. How do I do that? :(
- Inglor
-
Inglor
- Member since: Jan. 26, 2003
- Offline.
-
- Send Private Message
- Browse All Posts (10,869)
- Block
-
- Forum Stats
- Member
- Level 17
- Blank Slate
- Afro-Ninja
-
Afro-Ninja
- Member since: Mar. 2, 2002
- Offline.
-
- Send Private Message
- Browse All Posts (13,458)
- Block
-
- Forum Stats
- Moderator
- Level 44
- Game Developer
- Inglor
-
Inglor
- Member since: Jan. 26, 2003
- Offline.
-
- Send Private Message
- Browse All Posts (10,869)
- Block
-
- Forum Stats
- Member
- Level 17
- Blank Slate
I always thought that was automatic...
where did you type those commands? are you sure you typed them in the server consule?
- Afro-Ninja
-
Afro-Ninja
- Member since: Mar. 2, 2002
- Offline.
-
- Send Private Message
- Browse All Posts (13,458)
- Block
-
- Forum Stats
- Moderator
- Level 44
- Game Developer
At 6/25/05 03:14 PM, Inglor wrote: I always thought that was automatic...
where did you type those commands? are you sure you typed them in the server consule?
See, that's where I'm lost...
All I know to do it to use my ftp program to go to my root directory, and from there I can use commands. But also I can't seem to find the folder(s) in my site directory that I'm supposed to modify, maybe they are hidden from me?
- thoughtpolice
-
thoughtpolice
- Member since: Mar. 24, 2003
- Offline.
-
- Forum Stats
- Member
- Level 10
- Blank Slate
http://www.freebsddiary.org/apache-ssi.php should help.
omg.
Playstation Network tag: muffin-noodle
the empty set
- Afro-Ninja
-
Afro-Ninja
- Member since: Mar. 2, 2002
- Offline.
-
- Send Private Message
- Browse All Posts (13,458)
- Block
-
- Forum Stats
- Moderator
- Level 44
- Game Developer
At 6/25/05 03:16 PM, Sinnernaut wrote: http://www.freebsddiary.org/apache-ssi.php should help.
yeah, that's what I'm not getting... I can't find this magical config file that every place tells me about :(
Do I need to run a command to unhide files?
- Inglor
-
Inglor
- Member since: Jan. 26, 2003
- Offline.
-
- Send Private Message
- Browse All Posts (10,869)
- Block
-
- Forum Stats
- Member
- Level 17
- Blank Slate
it's linux right? linux has remote access through SSL, look into it, better then FTP which is pretty much put file/get file limited
- Afro-Ninja
-
Afro-Ninja
- Member since: Mar. 2, 2002
- Offline.
-
- Send Private Message
- Browse All Posts (13,458)
- Block
-
- Forum Stats
- Moderator
- Level 44
- Game Developer
Hmm.. but even then I'd just like to find my config file, and figure out how to restart my server. is that only something my host can do?
- cryptacet
-
cryptacet
- Member since: Jul. 15, 2000
- Offline.
-
- Forum Stats
- Member
- Level 45
- Programmer
At 6/25/05 05:06 PM, Afro_Ninja wrote: Hmm.. but even then I'd just like to find my config file, and figure out how to restart my server. is that only something my host can do?
Unless you have access to the entire server, you won't be finding the file.
Another way is to create a text file with the AddHandler and AddType lines in it, name it .htaccess and put the file in the relevant directory with the shtml files.
If this still doesn't work, you will have to ask the server administrator.
- Afro-Ninja
-
Afro-Ninja
- Member since: Mar. 2, 2002
- Offline.
-
- Send Private Message
- Browse All Posts (13,458)
- Block
-
- Forum Stats
- Moderator
- Level 44
- Game Developer
Ok, Inglor showed me how to do it with php, and it works now
Thanks for the help guys : )
also, I already tried that htaccess thing, it didn't seem to work..


