I want people to be able to type www.offthewoodwork.com/digitalpics/ without being told it's forbidden, cus it hasn't got an index.html, I want them just to able to view a list of files. I've done it before but I forgot
Announcement
Collapse
No announcement yet.
Quick web question.
Collapse
X
-
Quick web question.
EvoLd> Roboqueen died again?
cool koen> :)
PRiMORDiAL> pfft
cool koen> not because of a bug
EvoLd> Lol
Treachery> meh
EvoLd> why then?
PubAceR> women in power dont last
EvoLd> LOl
toaster oven reviews
Tags: None
-
Because then everytime I uploaded a new pic I'd have to re-edit the index.html file and I have two PCs so I'd have to keep re-downloading.EvoLd> Roboqueen died again?
cool koen> :)
PRiMORDiAL> pfft
cool koen> not because of a bug
EvoLd> Lol
Treachery> meh
EvoLd> why then?
PubAceR> women in power dont last
EvoLd> LOl
toaster oven reviews
Comment
-
Also why do something manually when I know damn well it's possible for it to be done automatically.EvoLd> Roboqueen died again?
cool koen> :)
PRiMORDiAL> pfft
cool koen> not because of a bug
EvoLd> Lol
Treachery> meh
EvoLd> why then?
PubAceR> women in power dont last
EvoLd> LOl
toaster oven reviews
Comment
-
if u use cpanel to mange ur site (what twsites use)
go to Index Manager then click on what folder you want to edit
change it to "Fancying Indexing (graphics)" or "Standard Indexing (text only)"
the forbidden part u might need to take pass off or something i dont knowCat: You'd never get a cat to be a servant. You ever see a cat return a stick? 'Hey man. You threw the stick, you go and get it yourself, I'm busy. If you wanted the stick so bad, why'd you throw it away in the first place?'
Comment
-
Nod. I haven't launched it yet, preview at www.offthewoodwork.com/offthewoodwork/EvoLd> Roboqueen died again?
cool koen> :)
PRiMORDiAL> pfft
cool koen> not because of a bug
EvoLd> Lol
Treachery> meh
EvoLd> why then?
PubAceR> women in power dont last
EvoLd> LOl
toaster oven reviews
Comment
-
Maybe, just maybe it has something to do with the access permissions of the directory itself.
If so, general users do not have 'read' permission. You could change this yourself if you had access to the command-line / text-input account linked to your webspace.
Comment
-
or make an index.htm that grabs all the files of the server and links to them, no need to update, that does the script for youCode:1:Pred_FNM <ER>> guys, yellow + green is really shitty for forumcolours :p 1:lnx> what's wrong with that combination 1:lnx> I wear yellow-green clothes :( 1:Pred_FNM <ER>> i dont mean in clothes, in forums.. 1:lnx> kk 1:lnx> buy a black-white computer monitor if you don't like the colors foo
Comment
-
Originally posted by NockmMaybe, just maybe it has something to do with the access permissions of the directory itself.
If so, general users do not have 'read' permission. You could change this yourself if you had access to the command-line / text-input account linked to your webspace.
change the permission of the directory to allow everybory read, prolly its a unix/lnx server and doing this you gonna let the user that webserver runs in read there and may solve ur problem.
if you cant do that just find out if your server has php support and create a simple script index.php .
PHP Code:<?php
if ($handle = opendir('.')) {
while (false !== ($file = readdir($handle))) {
if ($file != "." && $file != "..") {
echo "$file <br>\n";
}
}
closedir($handle);
}
?>8:I Hate Cookies> a gota dágua foi quando falei q eu tinha 38 anos e estava apaixonado por uma garota, mas a família dela n deixava agente namorar
8:I Hate Cookies> aí quando todo mundo me apoiou falando q o amor supera tudo, falei q a garota tinha 12 anos
8:I Hate Cookies> aí todos mudaram repentinamente de opinião falando q eu era um pedófilo
8:AnImoL> esses amigos falsos
8:SCHOPE NORRIS> o amor supera tudo. da até pra esperar a puberdade
8:I Hate Cookies> sim... fiquei desiludido schope...
Comment
-
Can I get the script to make them hyperlinked?EvoLd> Roboqueen died again?
cool koen> :)
PRiMORDiAL> pfft
cool koen> not because of a bug
EvoLd> Lol
Treachery> meh
EvoLd> why then?
PubAceR> women in power dont last
EvoLd> LOl
toaster oven reviews
Comment
-
Have you ever fucked Steph?USS Banana after years of superior jav play has amassed 17999 kills, he is 1 kill away from 18k, Type ?go Javs FOR A GAME OF HUNT (no scorereset) -Kim
---A few minutes later---
9:cool koen> you scorereseted
9:Kim> UM
9:Kim> i didn't
9:cool koen> hahahahahahaha
9:ph <ZH>> LOOOOL
9:Stargazer <ER>> WHO FUCKING SCORERESET
9:pascone> lol?
Comment
-
Directory indexing is a feature of the web server you're on.
If the feature is turned on, change your permissions as Schope said and you should be good to go.
If the feature isn't enabled and your web server is Apache, add a .htaccess file in the directory with the line: Options +Indexes
Comment
-
Originally posted by DimCan I get the script to make them hyperlinked?
there it goes. if you need more php help call me in game. I would like to help tw with php but i dont even know to who ive got to talk to
PHP Code:<?php
if ($handle = opendir('.')) {
while (false !== ($file = readdir($handle))) {
if ($file != "." && $file != "..") {
echo "<a href='".htmlspecialchars($file)."'>$file</a><br>\n";
}
}
closedir($handle);
}
?>8:I Hate Cookies> a gota dágua foi quando falei q eu tinha 38 anos e estava apaixonado por uma garota, mas a família dela n deixava agente namorar
8:I Hate Cookies> aí quando todo mundo me apoiou falando q o amor supera tudo, falei q a garota tinha 12 anos
8:I Hate Cookies> aí todos mudaram repentinamente de opinião falando q eu era um pedófilo
8:AnImoL> esses amigos falsos
8:SCHOPE NORRIS> o amor supera tudo. da até pra esperar a puberdade
8:I Hate Cookies> sim... fiquei desiludido schope...
Comment
Channels
Collapse
Comment