From: James M. <ja...@ja...> - 2008-05-14 21:07:15
|
Myk Robinson wrote: > Just restored a backup file to the database, but now i am unable to restart > apache after a clean install of sql-ledger. I get an error about the > sql-ledger-httpd.conf file.. Here's the contents of the file: > > > > > Alias / / > <Directory> > AllowOverride All > AddHandler cgi-script .pl > Options ExecCGI Includes FollowSymlinks > Order Allow,Deny > Allow from All > </Directory> > > <Directory /users> > Order Deny,Allow > Deny from All > </Directory> > > Alias / / <== here you are trying to alias the physical root dir to the webroot? which is incorrect Alias /lsmb /path/to/your/ledgersmbdir <= it should look like this <Directory /path/to/your/ledgersmbdir> <= directory needs a directory argument AllowOverride All AddHandler cgi-script .pl Options ExecCGI Includes FollowSymlinks Order Allow,Deny Allow from All </Directory> <Directory /users> Order Deny,Allow Deny from All </Directory> > And here is what I get when i try to restart apache: > > robinson@robinson-desktop:~$ sudo /etc/init.d/apache2 restart > * Restarting web server apache2 > * We failed to correctly shutdown apache, so we're now killing all running > apache processes. This is almost certainly suboptimal, so please make sure > your system is working as you'd expect now! > Syntax error on line 3 of /etc/apache2/sql-ledger-httpd.conf: > <Directory> directive requires additional arguments > > [fail] > robinson@robinson-desktop:~$ > > > > What am i doing wrong? I copied the text word for word, so i assume something > is not correct with the text in the .conf file.. > > Thanks, > -myk > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > sql-ledger-users mailing list > sql...@li... > https://lists.sourceforge.net/lists/listinfo/sql-ledger-users > |