Visualizzazione dei risultati da 1 a 8 su 8

Discussione: Problemino WexLite

  1. #1

    Problemino WexLite

    Ho scaricato dal sito il WexLite, ma ho dei problemi nel settare il file config.asp (sono veramente un principiante), infatti riesco a vedere i file e le cartelle del mio sito, ma se provo ad uploadare un qualsiasi file mi compare il mess. "provafile.jpg can not be written".
    Il problema credo sia nel settare questo parametro del file config.asp:

    Const wexRoot = "/"

    ma dal commento dell'autore non riesco a capire cosa devo fare...

    ecco il commento:

    ' Root folder, it can be a physical or virtual folder: "c:\test", "/test"
    ' Beware that you will not have web access(no web browsing of files/folders) if you use a physical folder like "c:\test"
    ' If you want to have web access with a physical folder, you should create a virtual folder(IIS alias like "/folder") for that physical folder and use it instead.

    Qualcuno mi saprebbe aiutare???

    Ciao a tutti e grazie in anticipo

  2. #2
    Utente bannato
    Registrato dal
    Jun 2004
    Messaggi
    1,854
    non so cosa sia sta cosa o a cosa serva ma credo che tu debba mettere un percorso fisico li poi boh

  3. #3
    Il fatto è che io non so cosa devo fare per creare una cartella virtuale(il commento dice "you should create a virtual folder...)

  4. #4
    up

  5. #5
    Scusate se sembrerò un rompi p..., ma io vorrei imparare ad utilizzare pagine asp e sto chiedendo un aiuto su di uno script che ho scaricato da questo sito...non capisco perchè non trovo nessuno che mi aiuti...

    ...lo so che magari è una stupidata la soluzione al mio prob. ma vi giuro che sto provandole tutte...

  6. #6
    Provo a postare il file config.asp, magari qualcuno mi può aiutare così:

    ' - Constants ------------------------------------------------
    ' For disabling password security set wexPassword = ""
    Const wexPassword = "tester"
    ' Root folder, it can be a physical or virtual folder: "c:\test", "/test"
    ' Beware that you will not have web access(no web browsing of files/folders) if you use a physical folder like "c:\test"
    ' If you want to have web access with a physical folder, you should create a virtual folder(IIS alias like "/folder") for that physical folder and use it instead.
    Const wexRoot = "/"
    ' Show files and folders that have hidden attribute set?
    Const showHiddenItems = true
    ' Calculate total size of the current folder? Disable if it takes long time with huge folders.
    Const calculateTotalSize = true
    ' Calculate total sizes of the folders in the listing? Disable if it takes long time with huge folders.
    Const calculateFolderSize = true
    ' List of file extensions which are showed with the "T" icon and can be edited by clicking the icon.
    Const editableExtensions = "htm,html,asp,asa,txt,inc,css,aspx,js,vbs,shtm,sht ml,xml,xsl,log"
    ' List of file extensions which are showed with the "P" icon and can be viewed by clicking the icon.
    Const viewableExtensions = "gif,jpg,jpeg,png,bmp,jpe"
    ' Display full physical path of the current folder? Set it to false for hiding your server path structure.
    Const displayPath = true
    ' List of file extensions to be monitored during Upload, Rename, Editor Save and Create New File actions.
    ' Allowance or denial is due to the value of denyMonitored constant. Extensions should be separated by comma.
    Const monitoredExtensions = ""
    ' True means monitored extensions are denied and false means only monitored extensions are allowed but not any other.
    Const denyMonitored = true
    ' ------------------------------------------------------------

    ' - Variables ------------------------------------------------
    ' Set script timeout value to higher values (in seconds) if the script fails when uploading large files
    Server.ScriptTimeout = 300
    ' Preferred character set, default value is "ISO-8859-1" (Western European character set)
    ' Don't bother to change it unless you are having problems with handling text in your language
    ' Character sets and supporting code pages can be found at
    ' http://msdn.microsoft.com/library/de...s/charset4.asp
    Response.CharSet = "ISO-8859-1"
    ' Preferred code page, default value is 1252 (Western European codepage)
    ' Don't bother to change it unless you are having problems with handling text in your language
    Session.CodePage = 1252
    ' Preferred locale identifier, default value is 1033 (English - United States)
    ' Locale ID (LCID) Chart can be found at
    ' http://msdn.microsoft.com/library/de.../vsmscLCID.asp
    Session.LCID = 1033
    ' ------------------------------------------------------------

    ' - Plugins --------------------------------------------------
    ' File transfer plugin
    %><%
    ' ------------------------------------------------------------

    %>

    Quello che non riesco a capire è cosa mettere nella parte scritta in rosso...

  7. #7
    se lo lascio così, riesco a vedere tranquillamente la pagina e riesco a navigare all'interno delle cartelle del mio sito, ma se provo anche a caricare un'immagine mi dà errore...

  8. #8
    problema risolto!

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.