• Welcome to the Chevereto User Community!

    Here, users from all over the world come together to learn, share, and collaborate on everything related to Chevereto. It's a place to exchange ideas, ask questions, and help improve the software.

    Please keep in mind:

    • This community is user-driven. Always be polite and respectful to others.
    • Support development by purchasing a Chevereto license, which also gives you priority support.
    • Go further by joining the Community Subscription for even faster response times and to help sustain this space

Ayuda instalacion

FeDeX

Chevereto Noob
Hola! soy nuevo en chevereto y me intereso mucho su script. pero tengo un problema pongo los archivos en la carpeta C:\xampp\htdocs\Host (servidor local) creeria que configure bien el config.

se los dejo

Code:
<?

/* -----------------------------------------

  Chevereto - Script de hosting de imagenes
  Nightly Build 1.4 (25/02/2009)
  http://www.chevereto.com/

  Released under the GPL 2.0
  Copyright (C) 2008 by Rodolfo Berrios
  <inbox at rodolfoberrios dot com>

  ----------------------------------------- */

// Lang
define('LANG', 'es'); // en - English, es - Español

// Adaptar segun la instalacion
define('URL_SCRIPT', 'http://mydomain.com/host/'); // Your new image hosting URL, like "http://mydomain.com/" or "http://mydomain.com/chevereto/"
define('PATH_SCRIPT', '/host/'); // Ruta relativa desde la carpera web hasta el script (pe: /public_html/chevereto/ -> "/chevereto/") (pe: /public_html/' -> "/" si lo corres en la root web)
define('APP_NAME', 'DEV Chevereto'); // Your image hosting name
define('TAG_LINE', 'Image Hosting'); // Your tagline (for doctitles and logo)

// Si cambias esto deberas cambiar las carpetas fisicas
define('DIR_UP','up/');
define('DIR_IM','images/');
define('DIR_WORKING',DIR_UP.'working/');
define('DIR_TEMP',DIR_UP.'temp/');
define('DIR_TH','thumbs/');

// Configuraciones de imagenes
$max_mb = '2.0'; // Maximo tamaño de imagen (Mbytes)
$max_by = $max_mb*1048576; // Maximo tamaño de imagen en bytes)
$max_name = '10'; // Caracteres maximos (no incluye ext y ".")
$mini_ancho = '150'; // Ancho del thumb (pixels)
$mini_alto = '150'; // Alto del thumb (pixels)
$lowres = '16'; // Minimo ancho a redimensionar
$higres = '1280'; // Maximo ancho de redimension

// Configuracion espedifica 
$lim_act = true; // true: Permite que se posten imagenes solo de tu DOM_SCRIPT - false: Permite que se suba desde cualquier parte (por ejemplo un formulario en un foro)
$debug_mode = false; // false: No muestra nada - cualquier otro valor mostrara los errores segun la config del servidor.
$cut_url = true; // true: Se cortan las URL (pe: TinyURL.com) - false: No se cortan las URL.
$cut_url_user = true; // Si $cut_url = true -> true: Permite a los usuarios elegir cortar url (preferencia) - false: No los deja establecer preferencia
$allow_over_resize = false; // true: peremite que se redimensione por sobre el ancho de la imagen - false: no redimensiona sobre el ancho de la imagen

// Upload por FTP, en algunas configuraciones no es necesario el $use_ftp, pero en la mayoria si (pe: cPanel)
$use_ftp = false; // true: usara ftp para subir los archivos - false: no usara ftp (usar si php tiene permisos o si se aplica chmod).
$ftp_host = DOM_SCRIPT; // Si no es igual a tu dom script entonces lo cambias.
$ftp_user = '';
$ftp_pass = '';

?>

me dice esto la pag al intentar abrirla:

Error en el servidor!

El servidor encontro un error interno y fue imposible completar su solicitud. Existe tambien la posibilidad de que el servidor este sobrecargado o de algún error en un programa de CGI.

Por favor contacte con el webmaster en caso de que usted crea que existe un error en el servidor.
Error 500
localhost
03/13/08 03:09:41
Apache/2.2.8 (Win32) DAV/2 mod_ssl/2.2.8 OpenSSL/0.9.8g mod_autoindex_color PHP/5.2.5
 
aqui esta mi ht no se cuanto :lol:

Code:
<files file-name>
order allow,deny
deny from all
</files>

RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_URI} ^([^.]+)$
RewriteCond %{REQUEST_URI} !(.*)/$
RewriteRule ^(.*)$ http://localhost/host/ [L,R=301]

RewriteEngine On
# index PAGE slash final
RewriteRule ^(.*)/$ index.php?p=$1 [L]
# index PAGE dot exten
RewriteRule ^(.*).html$ index.php?p=$1 [L]
RewriteRule ^(.*).htm$ index.php?p=$1 [L]

ErrorDocument 400 /index.php?p=400
ErrorDocument 401 /index.php?p=401
ErrorDocument 403 /index.php?p=403
ErrorDocument 404 /index.php?p=404
ErrorDocument 500 /index.php?p=500
ErrorDocument 503 /index.php?p=503
 
mmmm notese que el xampp default no viene configurado con el "estandar" de los hostings comerciales, por ejemplo las reglas htaccess, no usen dicho archivo entonces.
 
Back
Top