[root@web qmailadmin-1.0.6]# ./configure loading cache ./config.cache checking for a BSD compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... (cached) yes checking for working aclocal... found checking for working autoconf... found checking for working automake... found checking for working autoheader... found checking for working makeinfo... found checking host system type... i686-unknown-linux checking for gcc... (cached) gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for ranlib... (cached) ranlib checking for strerror in -lcposix... (cached) no checking how to run the C preprocessor... (cached) gcc -E checking for AIX... no checking for crypt in -lcrypt... (cached) yes checking for crypt in -lshadow... (cached) no checking for floor in -lm... (cached) yes checking for gethostbyaddr in -lnsl... (cached) yes checking for getsockname in -lsocket... (cached) no configure: error: Unable to find your html base directory, specify --enable-htmldir. [root@web qmailadmin-1.0.6]#
prøv evt med ./configure --enable-htmldir=/var/www/pc-dk --enable-cgibindir=/var/www/cgi-bin - men det kræver så også at /var/www/pc-dk og /var/www/cgi-bin er oprettet
[root@web qmailadmin-1.0.6]# ./configure --enable-htmldir=/var/www/pc-dk --enable-cgibindir=/var/www/cgi-bin loading cache ./config.cache checking for a BSD compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... (cached) yes checking for working aclocal... found checking for working autoconf... found checking for working automake... found checking for working autoheader... found checking for working makeinfo... found checking host system type... i686-unknown-linux checking for gcc... (cached) gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for ranlib... (cached) ranlib checking for strerror in -lcposix... (cached) no checking how to run the C preprocessor... (cached) gcc -E checking for AIX... no checking for crypt in -lcrypt... (cached) yes checking for crypt in -lshadow... (cached) no checking for floor in -lm... (cached) yes checking for gethostbyaddr in -lnsl... (cached) yes checking for getsockname in -lsocket... (cached) no checking whether we should prohibit caching... no checking whether to require ip authentication... yes checking whether to display user index... yes checking for ezmlm-idx... yes checking for dirent.h that defines DIR... (cached) yes checking for opendir in -ldir... (cached) no checking for ANSI C header files... (cached) yes checking for unistd.h... (cached) yes checking for working const... (cached) yes checking for size_t... (cached) yes checking whether struct tm is in sys/time.h or time.h... (cached) time.h checking for getcwd... (cached) yes checking for mkdir... (cached) yes checking for strdup... (cached) yes checking for strstr... (cached) yes creating ./config.status creating Makefile creating config.h config.h is unchanged [root@web qmailadmin-1.0.6]#
ok.. hvordan ser rettighederne ud på /var/www/cgi-bin og hvis det er så kan du sende mig din httpd.conf til mig på jakob@lws.dk så kan det være at jeg kan hjælpe dig det sidste stykke, hvis du ikke ønsker at ligge den online.
Har du modtaget min mail, så prøv at sætte den virtualhost ind ellers kan du prøve at slette qmailadmin (/var/www/cgi-bin og /usr/local/share/qmailadmin/) og så prøve at køre en ny ./configure uden parameter, for at se om det ikke var problemet med hensyn til htmldir
Så virker det. Læg lige den sidste del af løsningen så andre kan få glæde af den, hvis de kommer i samme problem, samt en lille opdatering af lws.dk når jeg har tid.
her er den løsning der virkede hos mig vi indsatte en virtual hosts i httpd.conf der ser sådan her ud: og linien hvor der står directory skal være den samme som jeres htmldir
NameVirtualHost *
<VirtualHost *> ServerAdmin admin@lws.dk ServerName pc-dk.dk ServerAlias *.pc-dk.dk DocumentRoot /var/www/pc-dk ScriptAlias /cgi-bin/ "/var/www/cgi-bin/" <Directory "/var/www/pc-dk"> Options Indexes Includes FollowSymlinks Multiviews AllowOverride All Order Allow,Deny Allow from All </Directory> <Directory "/var/www/cgi-bin"> AllowOverride None Options None Order allow,deny Allow from all </Directory> </VirtualHost>
efter der slettede jeg /var/www/cgi-bin /usr/local/share/qmailadmin/ dir´s skal være jeres egne
kørte denne commando: ./configure --enable-htmldir=/var/www/pc-dk --enable-cgibindir=/var/www/cgi-bin - men det kræver så også at /var/www/pc-dk og /var/www/cgi-bin er oprettet dir´s skal selvfølgelig laves om til jeres egne
make make install-strip
held og lykke gutter :-)
Synes godt om
Ny brugerNybegynder
Din løsning...
Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.