Questions tagged [syntax]
The syntax tag has no usage guidance.
4
questions
8
votes
5
answers
11k
views
How can I perform a syntax check on an .htaccess file in a shared hosting environment?
I have a build script (Perl) that modifies the .htaccess file when I deploy my applications. As a double-check, I'd like to be able to perform some sort of syntax checking on the created .htaccess ...
44
votes
4
answers
13k
views
What's wrong with my cronjob syntax, I'm trying to use a backtick (`)?
Here's what I'd like to automate:
00 08 * * * psql -Uuser database < query.sql | mail [email protected] -s "query for `date +%Y-%m-%dZ%I:%M`"
Here's the error message:
/bin/sh: -c: line 0: ...
2
votes
1
answer
5k
views
Various "Config variables" not defined, Apache 2.4.18
I have been setting up a blog/cloud server on Ubuntu 16.04 with Apache 2.4.18 and after rebooting my machine, came across this error.
[Wed Aug 03 01:04:41.468928 2016] [core:warn] [pid 3191] AH00111: ...
0
votes
1
answer
3k
views
Cannot move folder to a subdirectoy of itself - What's going on?
O.K I am trying to do the following very simple command and it is failing as follows...
mv '/home/admin/Downloads/folder1' '/home/admin/MyLibrary/MyVideos/TV/folder1/'
mv: cannot move `/home/admin/...