HTTP ...
6 отговора
296 прегледа
HTTP ...
Ima li na4in da se widi sydyrvanieto na nqkoi site? Toest da mu se naprawi ne6to kato "dir". Naprimer kato free.techno-link.com/ma3x da re4em - wsi4ko izliza na direktorii i failowe. Ako ima kakwa zaqwka trqbwa da se prati na HTTP servera?
И още бъгове ще има
И още бъгове ще има
Re: HTTP ...
ne :)
v apache-to imash neshto takova:
DirectoryIndex index.html index.htm index.php index.php3
ako niamash niakoi ot tezi file-ove ili shte vidish directory index-a ili shte poluchish
Forbidden
You don't have permission to access tyrabyra on this server.
v apache-to imash neshto takova:
DirectoryIndex index.html index.htm index.php index.php3
ako niamash niakoi ot tezi file-ove ili shte vidish directory index-a ili shte poluchish
Forbidden
You don't have permission to access tyrabyra on this server.
Re: HTTP ...
Tova zavisi ot nastroikata na servera "Indexing". Samia "index" se izrabotva ot
saotvetnia modul v httpd otgovariash za tova.
saotvetnia modul v httpd otgovariash za tova.
Re: HTTP ...
Има опция BROWSING в някои сървъри - тогава при липса на документ Index или Default се получава това ;-) Може да се направи и със скрипт същия ефект - няма проблем :-)
На самотен остров
ще те намеря...
На самотен остров
ще те намеря...
това е на ASP
<%
'Create the FileSystemObject object
Dim objFSO
Set objFSO = Server.CreateObject("Scripting.FileSystemObject")
'Obtain an folder object instance for a particular directory
Dim objFolder
Set objFolder = objFSO.GetFolder("C:\FooBar\Blah\")
'Use a For Each ... Next loop to display the files
Dim objFile
For Each objFile in objFolder.Files
'Print out the name
Response.Write objFile.Path & "<BR>"
Next
%>
Източник - [линк]
На самотен остров
ще те намеря...
'Create the FileSystemObject object
Dim objFSO
Set objFSO = Server.CreateObject("Scripting.FileSystemObject")
'Obtain an folder object instance for a particular directory
Dim objFolder
Set objFolder = objFSO.GetFolder("C:\FooBar\Blah\")
'Use a For Each ... Next loop to display the files
Dim objFile
For Each objFile in objFolder.Files
'Print out the name
Response.Write objFile.Path & "<BR>"
Next
%>
Източник - [линк]
На самотен остров
ще те намеря...